Commit fc5cc50
committed
wc: read helper-3.txt via stdin to suppress filenames
Use input redirection in script-01.sh and script-02.sh so wc reads
from stdin (e.g. `wc -w < ../helper-files/helper-3.txt` and
`wc -l < ../helper-files/helper-3.txt`). This prevents wc from
printing the filename and returns only the count.1 parent cef15e2 commit fc5cc50
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
0 commit comments