More Related Content
More from Alexander Bitar (20)
2 13-2018-team with most games won
- 1. 12: How can I use GNU coreutils
& other command line tools to
determine which team won the
most games in 2016?
By : Alexander Bitar
- 2. On your vagrant machine execute the following:
‘awk ‘BEGIN {FS=“,”}{if($10>$11} print $4; else
if($11>$10) print $7;)’ GL2016.TXT > 16Wins.txt’
- 3. With the 16Wins.txt file execute the following
analysis : ‘awk ‘{a[$1]++;}END{for (i in a) print i,
a[i];}’ 16Wins.txt | sort –nrk2 | head -1