On Wed, Apr 04, 2007 at 03:22:08PM -0400, Steven Lembark wrote: > Why not use perl: > > perl -p -e 's/^\s+//' in.txt > out.txt; That's going to work on more than just the first line. Eg. it is wrong. -Peter -- The 5 year plan: In five years we'll make up another plan. Or just re-use this one.