CIT052 Index > Errata

Errata

Page 21

In example 1.8, there should be a colon before the group specification rather than a period in the lines

Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...
   or: chown [OPTION]... :[GROUP] FILE...

Page 61

The third example in the left column should simply read:

if (( numeric expression ))
then
   block of statements
fi
Page 64

In example 2.7, the backticks around "hot dogs" in the lines numbered 8 and 15 should be apostrophes.

In example 2.7, the line starting ${foods[$n] should have a closing brace } after the closing square bracket and should read

${foods[$n]} and anything else you would like to eat?
Page 115

The flag --revert-match should be invert-match