in reply to History Meme, in Perl!
Wow, the number one item in my history is perl! I guess that comes from running everything as "perl blahblah.pl". Number two is cd. And it appears I use perldoc more often than man.
Using the suggestion from rhesa,
history|perl -lane '$h{$F[1]}++;END{print"$h{$_} $_"for(sort{$h{$b}<=> +$h{$a}}keys%h)[0..9]}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: History Meme, in Perl!
by jdporter (Paladin) on Apr 11, 2008 at 20:26 UTC | |
by kyle (Abbot) on Apr 11, 2008 at 20:37 UTC | |
by jdporter (Paladin) on Apr 12, 2008 at 14:29 UTC |