swcarpentry / shell-novice

The Unix Shell
http://swcarpentry.github.io/shell-novice/
Other
373 stars 969 forks source link

Ep. 05: Remove redundant paragraphs #1444

Open cknuepfer opened 8 months ago

cknuepfer commented 8 months ago

How could the content be improved?

The part starting after Saving to a File in a Loop - Part Two with

Let’s continue with our example in the shell-lesson-data/exercise-data/creatures directory. Here’s a slightly more complicated loop:

seem to be a little bit redundant:

  1. The presented example loop is not really more complicated than the loop from the beginning of the lessons. In fact it is the same loop, except that wildcards are used and the line numbers for head and tailare different.
  2. The explanation of the echo command is not necessary here, because the command was already introduced in Episode 04.

I would suggest to remove the paragraphs and move the "Note that we can’t write this as..." to somewhere else.

Which part of the content does your suggestion apply to?

episodes/02-filedir.md

bkmgit commented 8 months ago