On Thu, Mar 21, 2002 at 08:08:51PM +0000, John Levon wrote: > echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+' > > is one way
but sed 's+.*/++' is far simpler john -- "What *is* your fascination with my forbidden closet of mystery ?" - Chief Wiggum