parallel
[Top][All Lists]
Advanced

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

Re: Question on piping commands from stdin atop 20110822


From: Ole Tange
Subject: Re: Question on piping commands from stdin atop 20110822
Date: Tue, 13 Sep 2011 12:50:50 +0200

On Thu, Sep 8, 2011 at 5:07 PM, Rhys Ulerich <rhys.ulerich@gmail.com> wrote:

> cat <<HERE | parallel ::: foo bar baz
> echo {}
> HERE

Jay gave a good answer why it does not work. Maybe you can use this instead:

cat <<HERE | parallel :::: - ::: foo bar baz
echo
HERE

The thing to note is that {} will not have a special meaning in the
data on stdin (standard input) thus it will not be replaced with
arguments.

/Ole



reply via email to

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