From 8e1c0af8f3f96c5f226c9c4631d87a7e7ff3b35a Mon Sep 17 00:00:00 2001 From: l Date: Wed, 20 May 2026 12:10:25 +0100 Subject: [PATCH] Make sample files for sort task unambiguous --- expect/shell-pipelines/sort-uniq-head-tail/script-01.sh | 2 +- expect/shell-pipelines/sort-uniq-head-tail/script-02.sh | 2 +- shell-pipelines/sort-uniq-head-tail/scores-table.txt | 2 +- shell-pipelines/sort-uniq-head-tail/script-01.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/expect/shell-pipelines/sort-uniq-head-tail/script-01.sh b/expect/shell-pipelines/sort-uniq-head-tail/script-01.sh index a622bc929..39be31964 100755 --- a/expect/shell-pipelines/sort-uniq-head-tail/script-01.sh +++ b/expect/shell-pipelines/sort-uniq-head-tail/script-01.sh @@ -1,4 +1,4 @@ -Ahmed London 1 10 4 +Ahmed London 2 10 4 Basia London 22 9 6 Chandra Birmingham 12 6 Leila London 1 diff --git a/expect/shell-pipelines/sort-uniq-head-tail/script-02.sh b/expect/shell-pipelines/sort-uniq-head-tail/script-02.sh index c560f609b..937ebfcd7 100755 --- a/expect/shell-pipelines/sort-uniq-head-tail/script-02.sh +++ b/expect/shell-pipelines/sort-uniq-head-tail/script-02.sh @@ -2,5 +2,5 @@ Basia London 22 9 6 Piotr Glasgow 15 2 25 11 8 Chandra Birmingham 12 6 Mehmet Birmingham 3 12 17 +Ahmed London 2 10 4 Leila London 1 -Ahmed London 1 10 4 diff --git a/shell-pipelines/sort-uniq-head-tail/scores-table.txt b/shell-pipelines/sort-uniq-head-tail/scores-table.txt index 921ee6c29..643228c9a 100644 --- a/shell-pipelines/sort-uniq-head-tail/scores-table.txt +++ b/shell-pipelines/sort-uniq-head-tail/scores-table.txt @@ -1,4 +1,4 @@ -Ahmed London 1 10 4 +Ahmed London 2 10 4 Basia London 22 9 6 Mehmet Birmingham 3 12 17 Leila London 1 diff --git a/shell-pipelines/sort-uniq-head-tail/script-01.sh b/shell-pipelines/sort-uniq-head-tail/script-01.sh index 171e1f989..8e18aae00 100755 --- a/shell-pipelines/sort-uniq-head-tail/script-01.sh +++ b/shell-pipelines/sort-uniq-head-tail/script-01.sh @@ -4,4 +4,4 @@ set -euo pipefail # The input for this script is the scores-table.txt file. # TODO: Write a command to output scores-table.txt, with lines sorted by the person's name. -# The first line of your output should be "Ahmed London 1 10 4" (with no quotes). And the third line should be "Chandra Birmingham 12 6". +# The first line of your output should be "Ahmed London 2 10 4" (with no quotes). And the third line should be "Chandra Birmingham 12 6".