Re: Book for writing shell scripts.
> I am looking for suggestions on a good book for writing shell
> scripts. O'Reilly publishes a book on bash and another on awk & sed.
I like Kernighan and Pike, "The Unix Programming Environment". It's
dated (like ten years or so), and doesn't cover Bash extensions, and
covers a lot more than shell programming, but all of that is good; its
programs are very portable.
The thing I like best is the Unix mindset, given here better than
anywhere else I've seen.
It's not a step-by-step intro to the details of shell programming, but
when I was learning Bash and wanted to do something in it, I'd just
flip open the book and follow their example.
For details, the Bash manpage tells all. I only had to read it ten
times or so before understanding what all of it meant ;)
Like most people, I'm recommending what I have myself done; not having
learned shell programming any other ways, I can't comment on them.
"This year will go down in history. For the first time, a civilized
nation has full gun regisration. Our streets will be safer, our
police more efficient, and the world will follow our lead into the
future!" --Adolph Hitler, 1935
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .