Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: opinion - enormous input files

by artist (Parson)
on Feb 01, 2009 at 04:37 UTC ( #740504=note: print w/replies, xml ) Need Help??


in reply to opinion - enormous input files

If on *nix you can use
sort file | uniq -c
--Artist

Replies are listed 'Best First'.
Re^2: opinion - enormous input files
by dsheroh (Prior) on Feb 01, 2009 at 14:02 UTC
    No, he wants to do it in perl:
    perl -e 'print `sort file | uniq -c`'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://740504]
help
Chatterbox?
[stevieb]: ohhh, aaaand, I just learned that you can power an Arduino (Uno at least) by connecting any single analog pin to 5v on the Pi GPIO! That's bloody handy

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (2)
As of 2017-06-22 23:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many monitors do you use while coding?















    Results (531 votes). Check out past polls.