From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 02:19:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE67237B401 for ; Thu, 7 Aug 2003 02:19:16 -0700 (PDT) Received: from munk.nu (213-152-51-194.dsl.eclipse.net.uk [213.152.51.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 22E5D43F85 for ; Thu, 7 Aug 2003 02:19:16 -0700 (PDT) (envelope-from munk@munk.nu) Received: from munk by munk.nu with local (Exim 4.20) id 19kgvP-000OnP-6b; Thu, 07 Aug 2003 10:19:11 +0100 Date: Thu, 7 Aug 2003 10:19:11 +0100 From: Jez Hancock To: freebsd-questions@freebsd.org Message-ID: <20030807091911.GA95044@users.munk.nu> Mail-Followup-To: freebsd-questions@freebsd.org, Ceri Davies , "Dave [Hawk-Systems]" References: <20030806212738.GR76053@submonkey.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030806212738.GR76053@submonkey.net> User-Agent: Mutt/1.4.1i Sender: User Munk Subject: Re: recommended book/guide for /bin/sh shell programming X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 09:19:17 -0000 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. > 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/