diff --git a/episodes/04-loops.md b/episodes/04-loops.md index 05a0fb38..e96dc9b8 100644 --- a/episodes/04-loops.md +++ b/episodes/04-loops.md @@ -140,6 +140,7 @@ Alternatively, rather than running the loop above on the command line, you can s #!/bin/bash # This script loops through .txt files, returns the file name, # first line, and last line of the file + for file in *.txt do echo "$file"