On Friday 09 October 2009, Pierre Gaston wrote:

> > Repeat-By:
> >        printf '%s\n%s\n' foo bar | while read NAME;
> >        echo NAME=$NAME
> >        do
> >            echo blah
> >        done
>
> Not sure what is the incorrect syntax, and it seems normal that it goes
> into an infinite loop since echo is always true.

Well, it seems to me (and as stated in the bug report) that a "do" should 
follow the "while read NAME;".

-- 
D.


Reply via email to