Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Deleting duplicate lines from file

by turo (Friar)
on Feb 18, 2006 at 12:51 UTC ( [id://531142]=note: print w/replies, xml ) Need Help??


in reply to Re: Deleting duplicate lines from file
in thread Deleting duplicate lines from file

I like this minimalistic bit of code :-) ... You win!

perl -pe'$_{$_}++and$_=$,'

perl -Te 'print map { chr((ord)-((10,20,2,7)[$i++])) } split //,"turo"'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-03-29 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found