AnyBook4Less.com
Find the Best Price on the Web
Order from a Major Online Bookstore
Developed by Fintix
Home  |  Store List  |  FAQ  |  Contact Us  |  
 
Ultimate Book Price Comparison Engine
Save Your Time And Money

UNIX Shell Programming, Revised Edition

Please fill out form in order to compare prices
Title: UNIX Shell Programming, Revised Edition
by Stephen G. Kochan, Patrick H. Wood
ISBN: 067248448X
Publisher: Sams
Pub. Date: 01 December, 1989
Format: Paperback
Volumes: 1
List Price(USD): $29.95
Your Country
Currency
Delivery
Include Used Books
Are you a club member of: Barnes and Noble
Books A Million Chapters.Indigo.ca

Average Customer Rating: 4.44

Customer Reviews

Rating: 4
Summary: Great bourne shell book
Comment: I have purchased this book several times. That is because I keep giving it away to friends. It is the best basic bourne shell programming book I've come accross in 10+ years of Unix admin.
Most other books tend to focus on Ksh or Csh or some facsimile. This one I always keep at my desk for quick sh reference and fine examples.

Rating: 4
Summary: Give them shell
Comment: No book can be the end-all be-all in shell programming. But this one comes close. I used it to learn the basic understanding of Unix. Then keep it as a reference. I even buy new copies of it as it is revised. The on line man pages used to give examples that worked; however there are not enough or not at all on some commands. This book has also contains the why and concepts of Unix. It is better than those beginning to learn Unix books and rivals the pure reference manuals. Some people go to sleep in classes and others have comprehension problems with a bunch of words. This book has simple workable examples that help you get on with your work. For the speed you need and at a price you can afford, Unix shell Programming is what you are looking for.

Rating: 3
Summary: Somewhat dated....
Comment: Although published in 1990, this book could still function well as an introduction to UNIX and (Bourne) shell programming, provided one is aware of some changes to the shell in most implementations of UNIX since that date. Also, the Perl language has come on strong in recent years, and depending on your tastes (and time), that language can be used with great efficiency to do the tasks that are traditionally done in the shell.

After a quick review of the basics of UNIX, the authors give a purely descriptive explanation of the UNIX shell in chapter 3. Emphasizing that it is an interpretive language, the most commonly used shell commands are discussed in chapter 4, starting with a discussion of regular expressions. The cut, paste, sed, tr, grep, uniq, and sort commands are treated in detail.

In chapter 5, one begins the actual task of creating shell programs using shell variables. There is no data typing in the shell, so values can be assigned to variables without noting their type as integer, float, etc. The authors only briefly discuss the mechanism in shell programming. The method by which the shell interprets quotation characters is covered in the next chapter. The single, double, backslash, and back quote characters are discussed in detail. Noting that arithmetic operations are done on values stored in variables in the shell, the authors show to proceed with these operations using the expr program.

The mechanisms for passing arguments to shell programs is treated in chapter 7, the authors showing how to write shell programs that take arguments typed on the command line. The role of positional variables for delaying assignment after normal command line processing is discussed. The $#, and $* variables are discussed briefly, with $# getting set to the number of arguments typed on the command line and $* used for programs taking a variable number of arguments. The shift command is explained well as a method to allow one to use more than nine arguments to a program.

The ability of shell programs to execute decision blocks is treated in chapter 8, via the if statement. The role of the test and exit commands are in if blocks are discussed in good detail. In addition, the case command, familiar to C programmers is introduced as a technique to allow a single value to be compared against other values. The && and || constructs are used to show the reader how to execute commands that are contingent on the success or failure of the preceding command.

Program loops, via the for, while, and until commands are discussed in chapter 9, followed in the next chapter by a discussion of how to read data from the terminal or from a file using the read command. The ability to perform I/O redirection is discussed also.

Local and export variables are discussed in the next chapter on the user environment, and the authors give a good summary of how these work in shell programming. More discussion on parameter passing is done in chapter 12, with the different methods of parameter substitution given detailed treatment. The authors show how to use the $0 variable to check whether two or more programs have been executed, and how to use the set command to set shell options and to reassign positional parameters. This is followed in the next chapter by a discussion of the eval command, which makes the shell scan the command line twice before executing it, and the wait command, which will allow serialization in program execution. The trap and type commands are discussed also.

The Korn shell is discussed in chapter 15, with emphasis on the features added to Korn shell that cannot be found in the Bourne shell. The vi and emacs capability of this shell is briefly discussed in this chapter. The differences between Korn shell functions and Bourne shell functions are discussed in detail by the authors. Most importantly, the ability of the Korn shell to do integer arithmetic without using the expr command is discussed via the let command, which is built-in to the Korn shell. Also, the capability of the Korn shell to support data typing is discussed, along with its pattern matching capabilities. Pattern matching is done most efficiently now using Perl however.

Similar Books:

Title: UNIX Shells by Example (3rd Edition)
by Ellie Quigley
ISBN: 013066538X
Publisher: Prentice Hall
Pub. Date: 24 October, 2001
List Price(USD): $49.99
Title: sed & awk (2nd Edition)
by Dale Dougherty, Arnold Robbins
ISBN: 1565922255
Publisher: O'Reilly & Associates
Pub. Date: March, 1997
List Price(USD): $34.95
Title: Unix Power Tools, Third Edition
by Shelley Powers, Jerry Peek, Tim O'Reilly, Mike Loukides
ISBN: 0596003307
Publisher: O'Reilly & Associates
Pub. Date: 01 October, 2002
List Price(USD): $69.95
Title: Sams Teach Yourself Shell Programming in 24 Hours (2nd Edition)
by Sriranga Veeraraghavan
ISBN: 0672323583
Publisher: Sams
Pub. Date: 15 March, 2002
List Price(USD): $24.99
Title: Unix in a Nutshell: A Desktop Quick Reference for SVR4 and Solaris 7 (3rd Edition)
by Arnold Robbins
ISBN: 1565924274
Publisher: O'Reilly & Associates
Pub. Date: 15 November, 1999
List Price(USD): $29.95

Thank you for visiting www.AnyBook4Less.com and enjoy your savings!

Copyright� 2001-2021 Send your comments

Powered by Apache