> -----Original Message-----
> From: Sergio Morilla [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 10, 2002 2:39 PM
> To: Leaf-user@lists. sourceforge. net (E-mail)
> Subject: [leaf-user] OT: stripping path on filename
>
> 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.

dirname will give you the path and basename will give you the file without
the path.  I checked my Bering box and these commands are available.

_______________________________________________________________

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

Reply via email to