Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tut.cis.ohio-state.edu!usenet.ins.cwru.edu!odin!chet From: chet@odin.INS.CWRU.Edu (Chet Ramey) Newsgroups: comp.unix.shell Subject: Re: Finding the last arg Message-ID: <1991Jan7.191218.7488@usenet.ins.cwru.edu> Date: 7 Jan 91 19:12:18 GMT References: <1020@mwtech.UUCP> <443@minya.UUCP> Sender: news@usenet.ins.cwru.edu Reply-To: chet@po.CWRU.Edu Organization: Case Western Reserve Univ. Cleveland, Ohio, (USA) Lines: 19 Nntp-Posting-Host: odin.ins.cwru.edu In article danj1@ihlpa.att.com writes: >John> Is there any actual documentation on sh's syntax? >In the 4.3 BSD document set you'll find a syntax description in the sh >articles in [I think] the User's Supplementary Documents volume. The article is ``An Introduction to the Unix Shell'', USD:3, by S. R. Bourne. There is a grammar in the appendix. Take it with a grain of salt, though; as described by that grammar, sh does not accept ``who | wc'' as a legal command. Chet -- Chet Ramey ``There's just no surf in Network Services Group Cleveland, U.S.A. ...'' Case Western Reserve University chet@ins.CWRU.Edu My opinions are just those, and mine alone.