Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- perl -lane 'code' input.txt > output.txt
- perl -lane "$h{$_}++ for @F; END{for $w (sort {$h{$b}<=>$h{$a} || $a cmp $b} keys %h) {print qq($h{$w}t$w)}}" file > freq
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement