bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Misleading syntax in manual


From: Chet Ramey
Subject: Re: Misleading syntax in manual
Date: Wed, 08 Apr 2009 08:44:09 -0400
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)

Eric Blake wrote:

> You missed word... (the ... is important).  To keep it on one line, I'd
> represent the bash syntax as:
> 
> for name [ in [ name ... ] ; | ; ] do
> 
> to show that bash supports four varints: 'in ;', 'in name... ;', ';', or
> blank.

I prefer

for name [ [in [word ...] ] ; ] do

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]