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]}'
In reply to Re: History Meme, in Perl!
by kyle
in thread History Meme, in Perl!
by defyance
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |