tail of a path in Bourne
Dave Eisen
dkeisen at leland.Stanford.EDU
Wed May 15 03:57:30 AEST 1991
In article <1991May13.130524.5466 at cid.aes.doe.CA> afsipmh at cidsv01.cid.aes.doe.CA () writes:
>In the C shell if you have a variable z=/a/b/c/d then scho $z:t
>will give you just d.
I don't know if all unices have it, but all the ones I work on have
basename (1).
--
Dave Eisen dkeisen at leland.Stanford.EDU
1101 San Antonio Road, Suite 102 (Gang-of-Four is being taken off the net)
Mountain View, CA 94043
(415) 967-5644
More information about the Comp.unix.shell
mailing list