danilobellini

Less lines of code: shell script

Jun 20th, 2014
239
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.19 KB | None | 0 0
  1. #!/bin/sh
  2. rev massa.txt | cut -d. -f1 | rev | sort | uniq -c | sort -rn
  3.  
  4. # Based on https://www.facebook.com/pythonbrasil/photos/a.582882565067606.1073741825.328258703863328/776054062417121/
Advertisement
Add Comment
Please, Sign In to add comment