Seeking example shell syntax for bash, csh, zsh, sh

Seeking example shell syntax for bash, csh, zsh, sh

Post by David A. Sincla » Wed, 13 Mar 1996 04:00:00



hello, all.

i am looking for a document that gives example shell
syntax for flow-of-control constructs, variable evaluation,
&c. for the shells listed above; i've looked at the various
FAQ's, but none seems to give sample shell syntax.

anyone know of a website, or ftp-able document, that
contains this type of info?

thanks,
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

 
 
 

Seeking example shell syntax for bash, csh, zsh, sh

Post by Brian S Hile » Wed, 20 Mar 1996 04:00:00



: i am looking for a document that gives example shell
: syntax for flow-of-control constructs, variable evaluation,
: &c. for the shells listed above; i've looked at the various
: FAQ's, but none seems to give sample shell syntax.
: anyone know of a website, or ftp-able document, that
: contains this type of info?

As for bash and zsh, I do not know the definitive answer to this; however
the formal syntax for ksh (and thus sh), for which these two shells seek
to be compatible with, is only to be reliably explicated in the book "The
Kornshell Command and Programming Language".

Mind you this is not a book for beginners, but this _is_ the only source
worth investigating, as per your query.

-Brian
--
   ,---.     ,---.     ,---.     ,---.     ,---.     ,---.     ,---.  
  /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \   /  _  \  

__,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.___,'   `.__