[nylug-talk] need sed help

Dale Harris rodmur at maybe.org
Wed Apr 4 16:34:43 EDT 2007


On 2007-04-04 at 15:22, Steven Lembark <lembark at wrkhors.com> elucidated:
> 
> Why not use perl:
> 
>   perl -p -e 's/^\s+//' in.txt > out.txt;
> 

Sed is more light weight, I think.  Besides with the -r switch we have
the perl regex stuff, too.  :)


Dale


More information about the nylug-talk mailing list