![]() |
|
Just another Perl shrine | |
PerlMonks |
(tye)Re: Another Q about piping Perlby tye (Sage) |
on Oct 12, 2001 at 19:50 UTC ( #118507=note: print w/replies, xml ) | Need Help?? |
Several replies mention "-pe" but the default behavior of 'sed' is actually best duplicated with "-ne": echo $HOME/Mail/* | perl -ne "print if s/sent-mail //" - tye (but my friends call me "Tye")
In Section
Seekers of Perl Wisdom
|
|