Path: utzoo!mnetor!tmsoft!dptcdc!berner!lethe!geac!jtsv16!uunet!husc6!ukma!uflorida!novavax!twwells!bill From: bill@twwells.uucp (T. William Wells) Newsgroups: comp.sources.wanted Subject: Re: file pathname parser Keywords: file, pathname, parse Message-ID: <832@twwells.uucp> Date: 20 Apr 89 03:57:01 GMT References: <1970@quanta.eng.ohio-state.edu> Reply-To: bill@twwells.UUCP (T. William Wells) Organization: None, Ft. Lauderdale Lines: 17 Summary: Expires: Sender: Followup-To: Distribution: 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.)