bug-bash
[Top][All Lists]
Advanced

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

Re: </etc/passwd (wc)


From: Paul Jarc
Subject: Re: </etc/passwd (wc)
Date: Fri, 18 Oct 2002 16:35:38 -0400
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Dan Jacobson <jidanni@dman.ddts.net> wrote:
> $ </etc/passwd (wc)
> bash: syntax error near unexpected token `(w'
> $ </etc/passwd { wc;}
> bash: syntax error near unexpected token `;}'
>
> Bash Version: 2.05a
> I don't know if I'm supposed to know that I can't put them in front.
> At least the man page doesn't seem to say so.

It does, under REDIRECTION:
       The following redirection operators may precede or appear
       anywhere within a simple command or may follow a command.


paul




reply via email to

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