Skip to content

Commit 72b4018

Browse files
committed
Changing cat command
1 parent 665b5d9 commit 72b4018

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,6 @@ set -euo pipefail
1313
# 3 It looked delicious.
1414
# 4 I was tempted to take a bite of it.
1515
# 5 But this seemed like a bad idea...
16-
cat ../helper-files/*.txt | cat -n
16+
cat ../helper-files/*.txt | cat -n
17+
#This could have been written as
18+
cat -n ../helper-files/*.txt

0 commit comments

Comments
 (0)