[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] SHELL: get file name
- Subject: [ale] SHELL: get file name
- From: kachline at bass.compgen.com (Michael Kachline)
- Date: Tue, 2 Jul 2002 07:39:21 -0400 (EDT)
> Zyman, Andy wrote
> > Hello,
> > Some time ago i had the question "how to get dirname". Now i decided to go
> > even further :) and get filename.
> > So here we go:
> > ABSFILE=/home/aaa/bbb/ddd/name.log
>
> echo ${ABSFILE##*/}
FILENAME="echo $fullfile | `basename`"
- Mike
--------------------------------------------------------------------
Michael Kachline
Systems Programmer
Intec Telecom Systems
Building G, 4th Floor
5775 Peachtree-Dunwoody Road
Atlanta, GA 30342
--------------------------------------------------------------------
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.