Errata

BSD Hacks

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 6
4th paragraph

"man cshrc" should be "man tcsh"

Anonymous   
Printed Page 72
3rd command

"grep -sc '$USER' * | grep -v ':0' | sort -k 2 -t : -r" will not work when files name contain :0 symbols, to solve this just replace grep -v ':0' to grep -v ':0$'

Anonymous  Sep 07, 2008 
Printed Page 181
2nd paragraph in the testconnect.sh output

The descriptions states that 3 pings are sent at 2 second intervals but the command in the testconnect.sh script is:

PINGS=`pint -c 1 -i 2 [your gateway] | wc -l`

which should be:

PINGS=`pint -c 3 -i 2 [your gateway] | wc -l`

if you want three pings.

Fred Crowson  Sep 29, 2014 
Printed Page 181
3rd paragraph

The second sentence in the paragraph says:

By counting the number of letters (with wc -l) and applying a length test

The command wc -l gives the number of lines in each input file is written to the standard output. The word letters needs to be replaced with lines.

Fred Crowson  Sep 29, 2014