|
Re: [in WORDS ... ;] === should be ===> [in WORDS ... ];: msg#00205shells.bash.bugs
Abraham Alawi <aalawi@xxxxxxxxx> wrote: > [in WORDS ... ;] === should be ===> [in WORDS ... ]; > > as the semicolon in this case is compulsary not optional to be > included between the brackets. Actually, it is optional when "in WORDS" is absent (at least for bash, although portable scripts shouldn't rely on it): $ set 1 2; for i do echo "$i"; done; for i; do echo "$i";done 1 2 1 2 So it should really be: for NAME [[in WORDS ...] ;] do COMMANDS; done paul |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 'true' built-in not documented: 00205, Tim Waugh |
|---|---|
| Next by Date: | Spend only 15 minutes and get a wonderful night with your girl ! lockwood implementation: 00205, Addie Massey |
| Previous by Thread: | [in WORDS ... ;] === should be ===> [in WORDS ... ];i: 00205, Abraham Alawi |
| Next by Thread: | Turn your little one into the master of the bedroom using the Patch! WQOPLMU: 00205, Jodie Seay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |