Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Page Example 9-6: fiddle-ifs.sh function Read_A_File |
The Read_A_File function declares a local variable for the file to be read, expecting it as the first parameter: Note from the Author or Editor: |
Miguel Macías | Feb 11, 2023 | ||
Page Example 9-3 fancy_mapfile.sh |
In the notes of the script fancy_mapfile.sh (Example 9-3) it is indicated (note 2) that Note from the Author or Editor: |
Miguel Macías | Feb 12, 2023 | ||
Page 26 Near bottom of code block |
There is a missing single quote in `echo '` in the line after callout 15. Somehow I managed to accidentally delete it while doing copyediting revision. It is already fixed in the electronic versions and in the examples on Github, but the first print edition had already gone to the printer when I caught it. |
JP Vossen | Mar 26, 2022 | ||
Page 34 Suffix removal table |
In the table of examples showing the various ways to remove from the right side of the string, the filename "img.1231.jpg" gets abbreviated to "img.1234" instead of "img.1231". Note from the Author or Editor: |
Andy Lester | Jul 07, 2022 | ||
Page 37 Middle of table of parameter expansions |
${var:-default} is listed twice, with two different definitions. The second occurrence should be ${var:=default}. Note from the Author or Editor: |
Macon Gambill | Apr 16, 2022 | ||
Page 43 code example for case statement. |
According to bash error message: "continue: only meaningful in a `for', `while', or `until' loop". Note from the Author or Editor: |
Andy | Aug 18, 2024 | ||
Page 86 Top of page (pipeline starting with grep) |
The first example on page 86 is identical to the last example on page 85, meaning it won't produce the expected output if executed as shown. I imagine the intent was to remove the -d':' argument from the read command and instead use prefix assignment to set IFS to ':', e.g.: Note from the Author or Editor: |
Macon Gambill | Apr 24, 2022 | ||
Page 130 second item under the first bullet point |
> And unless you are using ~=, in which case you can't quote the regular expression! Note from the Author or Editor: |
Patrick Brinich-Langlois | Sep 18, 2022 | ||
Page 141 first sentence |
"~=" is used instead of "=~" Note from the Author or Editor: |
Patrick Brinich-Langlois | Sep 18, 2022 |