1. In the first section, 4th example... I may be wrong, but I don't think that the regex /^linux.*format$/ will match with either "linux Format" or "Linux users love Linux Format" by default... you need to have a flag set to ignore case.
That's exactly what I thought. Moreover, the slashes do not work on all distributions - e.g. on my laptop that still has Mdk 9.1 Pro I had to use single quotes, though I would have preferred to have used the slashes, which are used in perl regular expressions. Furthermore in perl you specifically set the ignore case as grep /.../i . Now finally add the warning I have seen: the switch/option on bash to ignore case (I believe is -i) does not work on all versions of bash! [Again, I really prefer the slash notation and when I am doing a match using php I use them; moreover, to protect my matching to ignore the case I use the syntax I noted above within the php functions.]
I had some other problems that I would have preferred to have written the author about directly, however, so far I have received no advice on how to email him.
These comments are NOT
meant to be overly critical - I want to see this and other series on the command line continued. Please keep them coming!!