Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 18:22:09 -0600
From:      Lane <lane@joeandlane.com>
To:        questions@freebsd.org
Subject:   Re: Is there reference manual for sh?
Message-ID:  <200612301822.09750.lane@joeandlane.com>
In-Reply-To: <20061230182206.GA5557@host.my.domain>
References:  <20061230150403.GA4674@host.my.domain> <17814.33476.413912.221142@jerusalem.litteratus.org> <20061230182206.GA5557@host.my.domain>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612301822.09750.lane>