[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Using {#} removes argument
From: |
Jay Hacker |
Subject: |
Using {#} removes argument |
Date: |
Fri, 8 Jul 2011 17:13:42 -0400 |
$ parallel echo ::: a b c
a
b
c
$ parallel echo {#} ::: a b c
1
2
3
I'm not sure this is a problem (I prefer it this way), but it should
probably be documented. It's the normal behavior for all of the other
{} substitutions, but {#} is kind of different: it doesn't have
anything to do with the input. This makes it perhaps a bit unexpected
that it takes away the input.
Actually the docs don't explicitly say that using {} disables the
normal append-input-as-args behavior; this might be good to mention.
Also that all of the {...} substitutions disable input-append, not
just {}.
- Using {#} removes argument,
Jay Hacker <=