Re: recommended book/guide for /bin/sh shell programming
On Wed, 2003-08-06 at 14:21, Dave [Hawk-Systems] wrote: For multiple reasons I am moving away from doing everything in perl/php for server based tasks. Made sense at the time to do everything in the language we used for the web as well, but am finding I do less web work and more server admin work as time progreses, and there are some significant hits to loading perl or php each time I want to move files and do other such tasks. As such I am finding more and more tasks being performed in plain ol shell scripting, thousgh this is still a hunt and peck type of operation fr the appropriate commands etc... As such, am looking for recommendations for a good guide/book or two for shell programming, but most of the books seem to be specific to bash, tcsh, ksh, etc... Given that there is a seperate bash shell port available, I would assume that /bin/sh != bash. I would prefer to use plain ol /bin/sh since most of the core scripts scattered through the stable installs we have use it. Sugestions? Amazon links? Thanks Dave Linux and Unix Shell Programming by David Tansley ISBN 0-201-67472-6 Published by Addison-Wesley Great book Cheers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Marvin J. Kosmal Linux Activist Registered User # 88512 Brought to by Libranet 2.7 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: recommended book/guide for /bin/sh shell programming
On Wed, Aug 06, 2003 at 10:27:38PM +0100, Ceri Davies wrote: On Wed, Aug 06, 2003 at 05:21:16PM -0400, Dave [Hawk-Systems] wrote: As such, am looking for recommendations for a good guide/book or two for shell programming, but most of the books seem to be specific to bash, tcsh, ksh, etc... Given that there is a seperate bash shell port available, I would assume that /bin/sh != bash. I would prefer to use plain ol /bin/sh since most of the core scripts scattered through the stable installs we have use it. snip My favourite one that covers most of the common shells is Unix Shell Programming by Stephen Kochan and Patrick Wood. I have the first edition which is from 1989, although there is a new edition released in March 2003 with ISBN 0672324903. I don't know that it's any good, but the first edition is great for beginners and I can't see any reason why the later edition would be any different. amazon.co.uk have both editions. I also have this book and would recommend it. I would also recommend Sams Teach Yourself Shell Programming in 24 Hours which seems to be available all over the place in HTML format if you want to search for it on google. For some really nice hints and tips I highly recommend Unix Power Tools by Oreilly (in fact all of the Unix Bookshelf books are excellent IMO). These should be easily available on amazon or at the ORA site or on oreily's safari site. -- Jez http://www.munk.nu/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: recommended book/guide for /bin/sh shell programming
may have already been mentioned, Bruce Blinn, Portable Shell Programming: An Extensive Collection of Bourne Shell Examples good stuff -glenn becker On 6 Aug 2003, Marvin J. Kosmal wrote: On Wed, 2003-08-06 at 14:21, Dave [Hawk-Systems] wrote: For multiple reasons I am moving away from doing everything in perl/php for server based tasks. Made sense at the time to do everything in the language we used for the web as well, but am finding I do less web work and more server admin work as time progreses, and there are some significant hits to loading perl or php each time I want to move files and do other such tasks. As such I am finding more and more tasks being performed in plain ol shell scripting, thousgh this is still a hunt and peck type of operation fr the appropriate commands etc... As such, am looking for recommendations for a good guide/book or two for shell programming, but most of the books seem to be specific to bash, tcsh, ksh, etc... Given that there is a seperate bash shell port available, I would assume that /bin/sh != bash. I would prefer to use plain ol /bin/sh since most of the core scripts scattered through the stable installs we have use it. Sugestions? Amazon links? Thanks Dave Linux and Unix Shell Programming by David Tansley ISBN 0-201-67472-6 Published by Addison-Wesley Great book Cheers ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- +-+ There are no motionless targets +-+ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: recommended book/guide for /bin/sh shell programming
On Wed, Aug 06, 2003 at 05:21:16PM -0400, Dave [Hawk-Systems] wrote: As such, am looking for recommendations for a good guide/book or two for shell programming, but most of the books seem to be specific to bash, tcsh, ksh, etc... Given that there is a seperate bash shell port available, I would assume that /bin/sh != bash. I would prefer to use plain ol /bin/sh since most of the core scripts scattered through the stable installs we have use it. Bash is certainly different, although it's a superset, so any sh scripts that you write should also work in bash. Sugestions? Amazon links? My favourite one that covers most of the common shells is Unix Shell Programming by Stephen Kochan and Patrick Wood. I have the first edition which is from 1989, although there is a new edition released in March 2003 with ISBN 0672324903. I don't know that it's any good, but the first edition is great for beginners and I can't see any reason why the later edition would be any different. amazon.co.uk have both editions. Ceri -- User: DO YOU ACCEPT JESUS CHRIST AS YOUR PERSONAL LORD AND SAVIOR? Iniaes: Sure, I can accept all forms of payment. -- www.chatterboxchallenge.com pgp0.pgp Description: PGP signature