bug-bash
[Top][All Lists]
Advanced

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

Re: bug using for i in ...


From: Paul Jarc
Subject: Re: bug using for i in ...
Date: Fri, 21 Sep 2001 11:51:18 -0400
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7

address@hidden wrote:
> 0-leda$ for i in  1 2 ; do echo $i; done
> 1
> 2
>
> 0-leda$ for i in  ; do echo $i; done
> bash: syntax error near unexpected token `;'

This is not a bug.  Reread the man page; something must follow "in"
textually, even if it expands to nothing.


paul



reply via email to

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