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 b04fdf4 commit 3488583Copy full SHA for 3488583
example_files/shell_scripting/read_file_lines.sh
@@ -1,4 +1,4 @@
1
while IFS= read -r line; do
2
# do something with each line
3
- echo "$line"
+ wc -l "$line"
4
done < "$1"
0 commit comments