I disagree that this is at all helpful for someone who is just picking up the language (and programming at that!).
Also, isn't grep going to read in the entire contents of the file? That is completely unnecessary for this task.
In reply to Re^2: Using grep to pick out lines in a text file
by lostjimmy
in thread Using grep to pick out lines in a text file
by Bunta
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |