Skip to content

Commit d090663

Browse files
committed
small fix
1 parent b59ac0c commit d090663

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

individual-shell-tools/cat/script-04-stretch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
set -euo pipefail
44

55
# NOTE: This is a stretch exercise - it is optional.
6-
cat ../helper-files/* | nl
6+
77
# TODO: Write a command to output the contents of all of the files in the helper-files directory to the terminal.
8+
cat ../helper-files/* | nl
89
# We also want to see the line numbers in the output, but we want line numbers not to reset at the start of each file.
910
#
1011
# The output of this command should be something like:

individual-shell-tools/ls/script-04.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ ls -t child-directory
1919

2020

2121
echo "Second exercise (sorted oldest to newest):"
22-
ls -tr child-directory
22+
2323
# TODO: Write a command which does the same as above, but sorted in the opposite order (oldest first).
24+
ls -tr child-directory
2425
# The output should be a list of names in this order, one per line: helper-2.txt, helper-1.txt, helper-3.txt.

0 commit comments

Comments
 (0)