Skip to content

Commit

Permalink
Merge pull request #1443 from cknuepfer/cknuepfer-patch-2
Browse files Browse the repository at this point in the history
Correct formatting
  • Loading branch information
bkmgit authored Nov 10, 2023
2 parents 9d394c4 + 1f3e2eb commit c07b432
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions episodes/05-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ 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 run the `head` command on the file currently referred to by $filename.
The first time through the loop,
`$filename` is `basilisk.dat`.
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`
and pipes the first two lines to the `tail` command,
which then prints the second line of `basilisk.dat`.
Expand Down

0 comments on commit c07b432

Please sign in to comment.