We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ff335 commit 1d4dc95Copy full SHA for 1d4dc95
1 file changed
shell-pipelines/sort-uniq-head-tail/script-02.sh
@@ -5,3 +5,5 @@ set -euo pipefail
5
# The input for this script is the scores-table.txt file.
6
# TODO: Write a command to output scores-table.txt, with lines sorted by the person's first score, descending.
7
# The first line of your output should be "Basia London 22 9 6" (with no quotes).
8
+
9
+sort -k2 -nr scores-table.txt
0 commit comments