From owner-freebsd-questions@FreeBSD.ORG Sun Dec 31 00:34:43 2006 Return-Path: X-Original-To: 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 BD39616A40F for ; Sun, 31 Dec 2006 00:34:43 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-spurfowl.atl.sa.earthlink.net (elasmtp-spurfowl.atl.sa.earthlink.net [209.86.89.66]) by mx1.freebsd.org (Postfix) with ESMTP id 8DBAB13C467 for ; Sun, 31 Dec 2006 00:34:43 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from [66.47.111.183] (helo=joeandlane.com) by elasmtp-spurfowl.atl.sa.earthlink.net with asmtp (Exim 4.34) id 1H0oQS-0000HX-CO for questions@freebsd.org; Sat, 30 Dec 2006 19:19:44 -0500 Received: from joeandlane.com (localhost.localnet.local [127.0.0.1]) by joeandlane.com (8.13.8/8.13.1) with ESMTP id kBV0MAQP063741 for ; Sat, 30 Dec 2006 18:22:10 -0600 (CST) (envelope-from lane@joeandlane.com) Received: from localhost (localhost [[UNIX: localhost]]) by joeandlane.com (8.13.8/8.13.1/Submit) id kBV0M9n6063740 for questions@freebsd.org; Sat, 30 Dec 2006 18:22:09 -0600 (CST) (envelope-from lane@joeandlane.com) X-Authentication-Warning: joeandlane.com: lholcombe set sender to lane@joeandlane.com using -f From: Lane To: questions@freebsd.org Date: Sat, 30 Dec 2006 18:22:09 -0600 User-Agent: KMail/1.9.4 References: <20061230150403.GA4674@host.my.domain> <17814.33476.413912.221142@jerusalem.litteratus.org> <20061230182206.GA5557@host.my.domain> In-Reply-To: <20061230182206.GA5557@host.my.domain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612301822.09750.lane@joeandlane.com> X-CD-SOLUTIONS-MailScanner-Information: Please contact the ISP for more information X-CD-SOLUTIONS-MailScanner: Found to be clean X-CD-SOLUTIONS-MailScanner-From: lane@joeandlane.com X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec795a7332b90825173c32b53fe7cf067dc0350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Cc: 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 00:34:43 -0000 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