On Thu, Mar 21, 2002 at 08:04:51PM +0000, Angus Leeming wrote: > Anyone know the sed command to strip off the front off this > ../../../devel/src/mathed/math_arrayinset.C > to give this > math_arrayinset.C
echo '../../../devel/src/mathed/math_arrayinset.C' | sed 's+.*/\(.*\)$+\1+' is one way john -- "What *is* your fascination with my forbidden closet of mystery ?" - Chief Wiggum