From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 06:18:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C27516A403 for ; Sun, 31 Dec 2006 06:18:47 +0000 (UTC) (envelope-from ajm91qw@sbcglobal.net) Received: from smtp110.sbc.mail.mud.yahoo.com (smtp110.sbc.mail.mud.yahoo.com [68.142.198.209]) by mx1.freebsd.org (Postfix) with SMTP id C67A313C4A5 for ; Sun, 31 Dec 2006 06:18:46 +0000 (UTC) (envelope-from ajm91qw@sbcglobal.net) Received: (qmail 543 invoked from network); 31 Dec 2006 06:18:42 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:X-YMail-OSG:Date:From:To:Subject:Message-ID:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; b=vda19LEVuXJ+946zdWNuxp05smmMrZbumbBZ0jGttZNmeOXWou2yRgEeyfdz9mgAP0hN25ej6s4fgGPArYfrdzNEaxlgVjoLLHVeXKu78eeyAG7tz00nSFVQVX9sI4CpllFzXzepQQBoOn1Z/bo/Gn2zUlqfePsje4mgxg4TZio= ; Received: from unknown (HELO localhost) (ajm91qw@sbcglobal.net@70.255.173.74 with plain) by smtp110.sbc.mail.mud.yahoo.com with SMTP; 31 Dec 2006 06:18:42 -0000 X-YMail-OSG: 0.XTWToVM1kdCvtKKH59KQmuIahhEWL9HsqTedDykTzHQvH0mqRZZudaVvjl_hxvPbvtIFBxD7ayxwH992Tn8OgCPlgvp3Oi07Rb_EuUGGeOBRdjxqycfC4Axdh52IDVVXiTbIyHzUk3KSl6Jty8G_5TuYp2s1l78Q8- Date: Sun, 31 Dec 2006 00:17:31 -0600 From: ajm To: freebsd-questions@freebsd.org Message-ID: <20061231061731.GA725@powerfull.bsd> References: <20061230150403.GA4674@host.my.domain> <17814.33476.413912.221142@jerusalem.litteratus.org> <20061230182206.GA5557@host.my.domain> <200612301822.09750.lane@joeandlane.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612301822.09750.lane@joeandlane.com> User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Is there reference manual for sh? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Dec 2006 06:18:47 -0000 On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote: > On Saturday 30 December 2006 12:22, a@zeos.net wrote: > > On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote: > > > a@zeos.net writes: > > > > I need a reference manual or specification for sh. > > > > Where can I find it? > > > > > > In you mean within FreeBSD, try: > > > > > > man sh > > > > > > or > > > > > > man builtin, > > > > > > As a user, the O'Reilly _UNIX in a Nutshell_ I bought many > > > years ago was a very wise investment. > > > If you want to hack the code ... the start with the code. And > > > good luck. > > > > > > > > > Robert Huff > > > > I need any online complete manual on sh, not a brief as it is man sh. > > The last one doesn't describe many features both interactive (command line > > editing, using history interactively, and many others) > > and scripting (for example, conditional expressions). > Here's a "brute-force" manual: > > #!/bin/sh > for each in `find /etc/rc.d` > do > more $each > done > > If you need more than what is there then you probably need Kernigan and > Ritchie's The "C" Programming Language, (still) available on amazon.com. > > lane How about the following: http://www3.cons.org/cracauer/bourneshell.html http://steve-parker.org/sh/sh.shtml http://www.unixreview.com/columns/schaefer/ or try the following and search for bourne shell http://www.onlamp.com/bsd/ these are all starting points...hope this helps. -- Alexander FreeBSD 6.0-RELEASE i386