On Fri, Apr 02, 2010 at 08:35:24PM -0700, Thomas Taylor wrote: > example: /home is directory to backup & assigned to $selection > I want Selection to be home (without the /) > > I've tried several variations of tr and sed to delete the "/" from the > directory name without success.
$ echo "/home/foo" | sed s-^/-- home/foo $ -- Robert Woodcock - [email protected] "Patience is a minor form of despair, disguised as virtue." -- Ambrose Bierce
