Skip to content

Commit 6fc279f

Browse files
committed
correction
1 parent dd96253 commit 6fc279f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎shell-pipelines/sort-uniq-head-tail/script-02.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ set -euo pipefail
66
# TODO: Write a command to output scores-table.txt, with lines sorted by the person's first score, descending.
77
# The first line of your output should be "Basia London 22 9 6" (with no quotes).
88

9-
sort -k3,3nr scores-table.txt
9+
cat scores-table.txt | sort -k3,3nr -k1,1r

0 commit comments

Comments
 (0)