Weblog entry #80 for ajt
#80
Shell Scripting Recipies (book mini review)
Posted by ajt on Sat 17 Mar 2007 at 10:52
Shell Scripting Recipes:
A problem-Solution Approach
C. F. A. Johnson
Apress ISBN 1-59059-471-1
421 pages
http://www.apress.com/book/bookDisplay.html?bID=419
Not a book I liked, however it may be good for you.
This is a book about solving problems with shell scripts, the style may be what you like, but I didn't like the style and gave up reading half way though and only skimmed the second half of the book.
You need to know the following and then decide if it's for you:
1) The book does not teach shell, you must know shell already.
2) The shell used in the book is POSIX portable, it does on the whole avoid using Bash, ksh or Z-shell tricks, so your code will move from shell to shell and OS to OS mostly okay.
3) The author avoids using external commands where possible sticking to pure shell solutions where possible.
4) The style of the book is several recipes grouped into a chapter, with source code and explanations.
I didn't like the book because the code chunks were too long for a printed book and there wasn't enough discussion about why things worked and how they worked. Additionally there weren't enough recipes, I much prefer the O'Reilly cookbook series books.
I also felt that I wouldn't choose shell to solve some of the problems, for example I would choose Perl to solve some of the problems. While shell can do some things internally, it isn't a full language like Perl or Python, and my style is to use shell to join together lots of other basic tools to get jobs done, not to write whole applications in shell. YMMV.
I do like:
* http://www.oreilly.com/catalog/shellsrptg/
* http://www.oreilly.com/catalog/bash3/
I have another Apress shell book, review will follow...
A problem-Solution Approach
C. F. A. Johnson
Apress ISBN 1-59059-471-1
421 pages
http://www.apress.com/book/bookDisplay.html?bID=419
Not a book I liked, however it may be good for you.
This is a book about solving problems with shell scripts, the style may be what you like, but I didn't like the style and gave up reading half way though and only skimmed the second half of the book.
You need to know the following and then decide if it's for you:
1) The book does not teach shell, you must know shell already.
2) The shell used in the book is POSIX portable, it does on the whole avoid using Bash, ksh or Z-shell tricks, so your code will move from shell to shell and OS to OS mostly okay.
3) The author avoids using external commands where possible sticking to pure shell solutions where possible.
4) The style of the book is several recipes grouped into a chapter, with source code and explanations.
I didn't like the book because the code chunks were too long for a printed book and there wasn't enough discussion about why things worked and how they worked. Additionally there weren't enough recipes, I much prefer the O'Reilly cookbook series books.
I also felt that I wouldn't choose shell to solve some of the problems, for example I would choose Perl to solve some of the problems. While shell can do some things internally, it isn't a full language like Perl or Python, and my style is to use shell to join together lots of other basic tools to get jobs done, not to write whole applications in shell. YMMV.
I do like:
* http://www.oreilly.com/catalog/shellsrptg/
* http://www.oreilly.com/catalog/bash3/
I have another Apress shell book, review will follow...