Skip to content

Commit 88bb3ce

Browse files
committed
output first 3 lines highest score players
1 parent ebc28b4 commit 88bb3ce

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

shell-pipelines/sort-uniq-head-tail/script-03.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ set -euo pipefail
88
# Basia London 22 9 6
99
# Piotr Glasgow 15 2 25 11 8
1010
# Chandra Birmingham 12 6
11+
12+
sort -k3nr scores-table.txt | head -n 3

0 commit comments

Comments
 (0)