Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for a in `seq 1 6`; do echo -n "$aº Número: " ; awk -v NUM=$a '{print $NUM}' megasena.txt | sort | uniq -c | sort -n| awk {'print $2'} | tail -1; done
- 1º Número: 49
- 2º Número: 05
- 3º Número: 27
- 4º Número: 29
- 5º Número: 12
- 6º Número: 30
- sed 's/ /\n/g' megasena.txt | sort | uniq -c | sort -n | awk {'print $2'} | tail -6 | xargs -L6
- 51 33 53 54 04 05
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement