bug-bash
[Top][All Lists]
Advanced

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

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


From: Abraham Alawi
Subject: [in WORDS ... ;] === should be ===> [in WORDS ... ];
Date: Sat, 16 Oct 2004 01:30:50 +1300

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




reply via email to

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