Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!pacbell.com!ucsd!ucbvax!agate!stanford.edu!leland.Stanford.EDU!dkeisen From: dkeisen@leland.Stanford.EDU (Dave Eisen) Newsgroups: comp.unix.shell Subject: Re: tail of a path in Bourne Message-ID: <1991May14.175730.15015@leland.Stanford.EDU> Date: 14 May 91 17:57:30 GMT References: <1991May13.130524.5466@cid.aes.doe.CA> Distribution: na Organization: Sequoia Peripherals, Inc. Lines: 14 In article <1991May13.130524.5466@cid.aes.doe.CA> afsipmh@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@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