Skip to content

Commit

Permalink
Merge pull request #1442 from cknuepfer/cknuepfer-patch-1
Browse files Browse the repository at this point in the history
Formulate more clearly
  • Loading branch information
gcapes authored Nov 9, 2023
2 parents 5bf3172 + 2838242 commit 9d394c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions episodes/05-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ In this example, the list is three filenames: `basilisk.dat`, `minotaur.dat`, an
Each time the loop iterates, we first use `echo` to print the value that the variable
`$filename` currently holds. This is not necessary for the result, but beneficial for us here to
have an easier time to follow along.
Next, we will assign a file name to the variable `filename`
and run the `head` command.
Next, we will run the `head` command on the file currently referred to by $filename.
The first time through the loop,
`$filename` is `basilisk.dat`.
The interpreter runs the command `head` on `basilisk.dat`
Expand Down

0 comments on commit 9d394c4

Please sign in to comment.