logo       

[in WORDS ... ;] === should be ===> [in WORDS ... ];: msg#00202

shells.bash.bugs

Subject: [in WORDS ... ;] === should be ===> [in WORDS ... ];

Bash Version: GNU bash, version 3.00.13(1)-release (i386-pc-linux-gnu)
Copyright (C) 2004 Free Software Foundation, Inc.

Description:
This bug is very minor bug, that in case it's really a bug:

$help for
for: for NAME [in WORDS ... ;] do COMMANDS; done
The `for' loop executes a sequence of commands for each member in a
list of items. If `in WORDS ...;' is not present, then `in "$@"' is
assumed. For each element in WORDS, NAME is set to that element, and
the COMMANDS are executed.


[in WORDS ... ;] === should be ===> [in WORDS ... ];

as the semicolon in this case is compulsary not optional to be
included between the brackets.


Kind regards,

-- A. Alawi


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise