[nylug-talk] need sed help

Peter C. Norton spacey-nylug at lenin.net
Wed Apr 4 15:38:11 EDT 2007


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.



More information about the nylug-talk mailing list