[comp.sources.wanted] file pathname parser

bill@twwells.uucp (T. William Wells) (04/20/89)

In article <1970@quanta.eng.ohio-state.edu> czei@quanta.eng.ohio-state.edu (Michael S. Czeiszperger) writes:
: Does anyone know of a pathname parser, which could pick out
: the name of the file out of the full path?  It seems just
: complicated enough to keep me tied up for several hours,
: and it probably has already been done by others.
:
: Thanks for any pointers.

Look up the `basename' command. On my machine it's a shell script.

(Of course, we're presuming UNIX here....)

---
Bill                            { uunet | novavax } !twwells!bill
(BTW, I'm may be looking for a new job sometime in the next few
months.  If you know of a good one where I can be based in South
Florida do send me e-mail.)