This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
bash-2.x
- To: yodl at icce dot rug dot nl
- Subject: bash-2.x
- From: Jan Nieuwenhuizen <jan at digicash dot com>
- Date: Thu, 23 Jul 1998 10:58:13 +0200
- cc: "ir. Wendy" <hanwen at cs dot ruu dot nl>, gnu-win32 at cygnus dot com
Hi,
After all this trouble with bash, i downloaded bash-docs-2.02,
and it says:
for name [ in word; ] do list ; done
The list of words following in is expanded, gener-
ating a list of items. The variable name is set to
each element of this list in turn, and list is exe-
cuted each time. If the in word is omitted, the
for command executes list once for each positional
parameter that is set (see PARAMETERS below). The
return status is the exit status of the last com-
mand that executes. If the expansion of the items
following in results in an empty list, no commands
are executed, and the return status is 0.
Which means that empy word-list is valid, and shouldn't trigger
an error.
10:55:25 mub ~/ftp/gnu/bash-2.02$ for i in ;do echo $i; done
bash: syntax error near unexpected token `;d'
It looks like a bug in bash-2.02(-release)
I also saw that bash-2.x is still in beta, internally the versions are
called 2.02-beta.
What about 'if you choose to use beta software, you suffer?' And why
is cygnus distributing a beta shell with gnu-windows?
Jan.
Jan Nieuwenhuizen <jan@digicash.com> | GNU LilyPond - The Music Typesetter
http://www.digicash.com/~jan | http://www.digicash.com/~jan/lilypond
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".