Amazon.com: Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) (9781430210436): Peter Seebach: Books
Beginning Portable Shell Scripting and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source)
 
 
Start reading Beginning Portable Shell Scripting on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) [Paperback]

Peter Seebach (Author)
4.6 out of 5 stars  See all reviews (9 customer reviews)

List Price: $34.99
Price: $22.97 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $12.02 (34%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Want it delivered Monday, February 27? Choose One-Day Shipping at checkout. Details

Formats

Amazon Price New from Used from
Kindle Edition $15.12  
Paperback $22.97  

Book Description

November 21, 2008 Expert's Voice in Open Source

Portable shell scripting is the future of modern Linux, OS X, and Unix command–line access. Beginning Portable Shell Scripting: From Novice to Professional teaches shell scripting by using the common core of most shells and expands those principles to all of scripting.

You will learn about portable scripting and how to use the same syntax and design principles for all shells. You’ll discover about the interaction between shells and other scripting languages like Ruby and Python, and everything you learn will be shown in context for Linux, OS X, bash, and AppleScript.

What you’ll learn

This book will prime you on not just shell scripting, but also the modern context of portable shell scripting. You will learn

  • The core Linux/OS X shell constructs from a portability point of view
  • How to write scripts that write other scripts, and how to write macros and debug them
  • How to write and design shell script portably from the ground up
  • How to use programmable utilities and their inherent portability to your advantage, while pinpointing potential traps
  • Pulling everything together, how to engineer scripts that play well with Python and Ruby, and even run on embedded systems

Who this book is for

This book is for system administrators, programmers, and testers working across Linux, OS X, and the Unix command line.

Table of Contents

  1. Introduction to Shell Scripting
  2. Patterns and Regular Expressions
  3. Basic Shell Scripting
  4. Core Shell Features Explained
  5. Shells Within Shells
  6. Invocation and Execution
  7. Shell Language Portability
  8. Utility Portability
  9. Bringing It All Together
  10. Shell Script Design
  11. Mixing and Matching

Frequently Bought Together

Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) + Expert Shell Scripting (Expert's Voice in Open Source) + Shell Scripting Recipes: A Problem-Solution Approach (Expert's Voice in Open Source)
Price For All Three: $78.36

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details

  • Expert Shell Scripting (Expert's Voice in Open Source) $32.31

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

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

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

About the Author

Peter Seebach has been using Unix since he needed to sit on a phone book to reach the keyboard. He's been writing professionally about Unix for mass audiences since the last millennium. He is currently employed as a senior software engineer at Wind River Systems and continues to write prolifically on a freelance basis.

Product Details

  • Paperback: 376 pages
  • Publisher: Apress; 1 edition (November 21, 2008)
  • Language: English
  • ISBN-10: 1430210435
  • ISBN-13: 978-1430210436
  • Product Dimensions: 9.2 x 7 x 0.9 inches
  • Shipping Weight: 1.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #235,926 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

9 Reviews
5 star:
 (7)
4 star:    (0)
3 star:
 (2)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.6 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

12 of 14 people found the following review helpful:
5.0 out of 5 stars Best book I ever wrote, November 11, 2009
This review is from: Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) (Paperback)
Having heard that authors frequently review their own books, I thought I'd give it a try. This is, without a doubt, the best book on portable shell scripting I have ever written. Sadly, it is also the worst book on portable shell scripting I have ever written.

What I can tell you is this:

* Before I started writing this book, I thought I was fairly expert in portable shell scripting.

* I learned a lot more writing this book than I knew before I started writing it.

* This book has ended up being one of my key desk references, which is pretty funny, because you'd think I'd know this stuff by now.

I'm not totally happy with everything about this book. I'm giving it five stars anyway because I can't name anything I think is better for the purpose right now... But I wouldn't mind revising and expanding for a second edition.

Don't let the "beginning" throw you off; this book was a real eye-opener for me, and I'd been writing shell scripts for somewhere between fifteen and twenty years, including production software. On the other hand, if you've got a bit of programming experience, I like to imagine that you really could have this as your first introduction to the shell, and probably do just fine.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 11 people found the following review helpful:
3.0 out of 5 stars not for beginners, December 26, 2008
By 
This review is from: Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) (Paperback)
"Beginning Portable Shell Scripting" has a very clear mission - teach the reader how to write shell scripts that will work in all Bourne family shells. The book assumes you know UNIX already. While you don't need to know shell scripting already, it is helpful. The book is very intense if you are using it learn the scripting basics at the same time.

I like how the author starts by showing the interactive command type in by the user vs what is evaluated/run vs what is output. This was a good way to teach shell scripting quoting. I also like the emphasis on what happens in edge cases.

I think that non-portable code could be better flagged. It's easy to gloss over embedded in the text. Or find again. Two chapters really went into detail on portability. I guess I expected it to be flagged throughout.

Chapter two says you can skip it if you already know reg exps. A word of advice: don't. I recommend skimming it anyway the chapter contains valuable distinctions on globbing/shell expansion. I also liked chapter three's multiple attempts at a script showing the errors in each until getting to the desired behavior.

As an aside, there's about 80 pages of appendices and the about the technical reviewer page was both entertaining and written completely in UNIX shell script.

The book mainly loses points for not being aimed at beginners with a title containing the word "beginning."
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


6 of 7 people found the following review helpful:
5.0 out of 5 stars Not only for beginners, December 7, 2008
By 
J. P. Mens (Germany, Europe) - See all my reviews
(REAL NAME)   
This review is from: Beginning Portable Shell Scripting: From Novice to Professional (Expert's Voice in Open Source) (Paperback)
Once in a while I find a book that gives me a memorable impression. One such book is Apress' Beginning Portable Shell Scripting by Peter Seebach.

Seebach covers historic aspects of the Unix shells as well as the ins and outs of shell programming. He explains very well why it is so important to think about portability, and that writing portable programs is often not very much more work than not doing so.

Although the book is titled Beginning Portable Shell Scripting it isn't a book only for beginners -- I know lots of pros who should read this book from cover to cover.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews







Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
postal customer, extended regexes, shell script design, trailing new line, execution preamble, basic regexes, utility portability, command substitution, arithmetic substitution, brace expansion, tilde expansion, grep hello, pathname expansion, glob characters, shell programmers, portable script, following script fragment, new awk, language portability, echo hello, parent shell, printf command, invocation and execution, archive utilities, eval command
Key Phrases - Capitalized Phrases (CAPs): (learn more)
What's Next, Sun Jun, Current Resident, Our Friends, Henry Spencer, Version Information There, Escaping Characters, Shell Programming
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(6)
(4)
(4)
(3)
(3)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject