> I'm just making my first steps in shell programming. > I'm sure there must be an easy way to strip the path from > a filename (as provided by find for example) in order > to use it as a base for fhurther processing.
You can use sed, but the command to do this is actually "basename": tempest: -root- # basename /bin/sh sh Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html