bug-bash
[Top][All Lists]
Advanced

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

Re: problem with builtin 'read' and standard input


From: Paul Jarc
Subject: Re: problem with builtin 'read' and standard input
Date: Tue, 27 Jul 2004 11:22:03 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Enrique Perez-Terron <enrio@online.no> wrote:
>   < <(some-process) while read var
>   do
>     if some-test
>     then
>       found=true
>       break
>     fi
>   done

The redirection must go after "done".  It's a syntax error to put it
before a compound command.


paul




reply via email to

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