Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Perlify some awk'ing for SPAM graphing

by bobn (Chaplain)
on Jun 24, 2003 at 13:28 UTC ( #268492=note: print w/ replies, xml ) Need Help??


in reply to Perlify some awk'ing for SPAM graphing

perl -ane 'chomp @F; print "$F[1] $F[0]\n"' spamstatfile

update: oops, you wanted edit in place, not to stdout:

perl  -i.bak -ane  'chomp @F; print "$F[1] $F[0]\n"'  spamstatfile

--Bob Niederman, http://bob-n.com
Comment on Re: Perlify some awk'ing for SPAM graphing
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2016-04-29 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (439 votes). Check out past polls.