Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Another Q about piping Perl

by tommyw (Hermit)
on Oct 12, 2001 at 03:20 UTC ( #118366=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    echo $HOME/Mail/* | perl -e 'while (<STDIN>) { s/sent-mail//; print "$
    +_"}'
    
  2. or download this
    echo $HOME/Mail/* | perl -p -e '/sent-mail//'
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://118366]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (1)
As of 2022-05-19 03:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (71 votes). Check out past polls.

    Notices?