ReadingChair.com - Read regularly updated book reviews and shop for books online.
  
Amazon.com:
Barnes & Noble:
Powell's:
Wal-Mart:

Shell Scripting Recipes: A Problem-Solution Approach (Expert's Voice in Open Source)

You are on the item page for: Shell Scripting Recipes: A Problem-Solution Approach (Expert's Voice in Open Source)
Books: Computers: Cgi Scripting: Item 8

View Previous Item in Cgi Scripting      View Next Item in Cgi Scripting
Click here to buy Shell Scripting Recipes: A Problem-Solution Approach (Expert's Voice in Open Source) by  Chris F.A. Johnson.  

Shell Scripting Recipes: A Problem-Solution Approach (Expert's Voice in Open Source)

by Chris F.A. Johnson
5.0 out of 5 stars

  • Paperback: 448 pages
  • Publisher: Apress; 1 edition May 6, 2005
  • Language: English
  • ISBN: 1590594711
  • Product Dimensions: 9.4 x 7.0 x 0.9 inches
  • Shipping Weight: 1.52 pounds

    3 of 3 people found the following review helpful: Unleash the power of the shell, November 27, 2005 Reviewer:jose_monkey_org "jose_monkey_org" (ann arbor, mi, USA) - While the Bourne shell is listed as a full fledged programming language, few people use it like that. Some of it is that they prefer more commonly acknowledged languages like Perl, Python or the like. However, with a book like Shell Scripting Recipes: A Problem-Solution Approach, they'll want to thin twice about it. I remember my first forays into shell scripting. I didn't want to learn Perl (then the clearly dominant scripting language), and worked hard to learn shell, awk, and sed so that I could do the things I needed to do and automate as much as possible. It paid off, and even impressed a few die hard Perl fans. Less code to do simple tasks, faster to write, and always present. While I don't do nearly as much shell scripting as I used to, I still enjoy seeing someone do neat things in /bin/sh, ksh, or bash. Chris Johnson's book is in the traditional line of a reference book, much like the O'Reilly cookbook series or, more accurately, the old tome, UNIX Power Tools. It's got a couple of non-recipe chapters, and the rest of it is a lot of fun, useful shell scripting. Chapter 1 is an invaluable reference to large portions of the POSIX shell language. Johnson covers things like built in commands and program flow, special variables, and variable expansion. He also clearly covers the differences between the Bourne shell and the POSIX shell where they differ. If you're worried, using Bash will almost always work with the examples, I think. At this point it's easy to think, "I can call out to external commands for a good chunk of the functions he develops." You can, but Johnson makes a compelling argument that shows the impact of a fraction of a second can add up quickly in loops. At this point, you're either agreeing with him and seeing the joy of a direct language like shell or you soon will. Chapter 20 is a small set of recipes but they serve a different function, namely helping you manage all of these new shell scripts and functions. You can copy, instantiate new shell scripts more easily (by automating the redundant bits), or package them up with simple scripts. Handy tools, and a decent approach. The recipes run the gamut from the simple to the uncommon, but they all illustrate how do accomplish useful tasks in a shell script. They include file conversion (DOS, UNIX, and Mac), string handling bits, filename management, complex date calculations, screen control capabilities, and even HTML processing. Some of my favorite recipes include the Postscript generation tools (!) and the database management tools. While some people have done these in shell scripts, I've usually seen them done using sloppy or confusing approaches. Johnson's code is clear, direct, and applicable. That's probably the biggest strength to the book, Johnson's clear writing and examples. Some programming and scripting books try and show you neat tools to accomplish a task, but they don't do a good job of showing you how to translate it to your specific task. In Shell Scripting Recipes, Johnson chooses his code carefully, articulates how it works, and continually builds on a theme. If you pick a few scripts and study them, you'll see tips and tools you can use in your own shell scripts. He also has nicely abstracted scripts that let you recycle his functions in your own scripts with ease. Overall I quite like Shell Scripting Recipes, I think that while it's easy to think less of the Bourne shell as a language, Johnson has done a good job of writing a concise set of examples, usable code, and in a format that is continually useful and clear. If you've been thinking about improving your shell prowess, this is the book for you.

    Book Description

    In today’s IT environment, harried system administrators are finding themselves more overworked than ever. This book helps them regain some of the lost time spent creating and testing shell scripts, and guides readers through more than 150 much-needed and practical real-world examples.

    Because all scripts found in this book are POSIX (Portable Operating System Interface)-compliant, they are supported by all major shell variants, including Bash, Zsh and sh, among others. File conversion, system administration, and resource monitoring are just a few of the topics covered in this highly practical shell scripting reference.



    About The Author
    Chris F.A. Johnson was introduced to Unix in 1990, and learned shell scripting because there was no C compiler on the system. His first major project was a menu-driven, user-extensible database system with report generator. Johnson constantly writes scripts to automate system administration tasks, and his recent shell projects have included a member database, menuing system, and POP3 mail filtering and retrieval. When not pushing shell scripting to the limit, Johnson teaches chess and composes cryptic crosswords.

    © Adapt, Inc. 1998-2006








  • Shop Bookstores:
    Art, Atlases, Art Techniques, Audio Books, Authors, Biographies, Business, Celebrities, Children's, Cities, Computers, Cookbooks, Countries, Dictionaries, En Español, Encyclopedias, History, Horror, Large Print, Law, Medical, Mystery, Photographers, Photography Techniques, Powell's Selections, Presidents, Research, Romance, Sci-Fi, Study Guides, Subjects, Techical, Teens, Textbooks, Travel, U.S. States

    Books
    Resources
    Most Watched Book Auctions
    Cgi Scripting at Sduf
    News To Peruse
    More Subjects
    Book Review Directory
    Reviewed Authors
    Reviewed Titles
    Review List
    Site Map