On Mon, 2004-01-19 at 14:18, Russell Steicke wrote: <snip> > I've never used these things in anger, but know they exist. You might > also try the ${FOO#bar} construct. btw: that stuff is explained in the man bash page under: Parameter Expansion as I once wrote: http://www.cantech.net.au/plug/2003-07/msg00997.html Ryan