bug-bash
[Top][All Lists]
Advanced

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

Re: bash: while: command not found? ??


From: Greg Wooledge
Subject: Re: bash: while: command not found? ??
Date: Mon, 7 Nov 2011 15:44:41 -0500
User-agent: Mutt/1.4.2.3i

On Mon, Nov 07, 2011 at 12:40:43PM -0800, Linda Walsh wrote:
>     # <filename while read ln; do echo $ln; done

You are not allowed to put redirections in front of a compound command
(such as while).  Redirections must always appear at the end of a compound
command.

Redirections can appear anywhere within a *simple* command only.



reply via email to

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