mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
70 lines
544 B
Plaintext
70 lines
544 B
Plaintext
### Test basic --arg-sep
|
|
a
|
|
b
|
|
### Run commands using --arg-sep
|
|
echo a
|
|
a
|
|
echo b
|
|
b
|
|
### Change --arg-sep
|
|
echo a
|
|
a
|
|
echo b
|
|
b
|
|
echo a
|
|
a
|
|
echo b
|
|
b
|
|
echo a
|
|
a
|
|
echo b
|
|
b
|
|
echo a
|
|
a
|
|
echo b
|
|
b
|
|
### Test stdin goes to first command only
|
|
cat -
|
|
via first cat
|
|
cat -
|
|
cat
|
|
via cat
|
|
echo b
|
|
b
|
|
cat
|
|
via cat
|
|
echo b
|
|
b
|
|
echo a
|
|
a
|
|
cat
|
|
### Bug made 4 5 go before 1 2 3
|
|
1
|
|
2
|
|
3
|
|
4
|
|
5
|
|
### Bug made 3 go before 1 2
|
|
1
|
|
2
|
|
3
|
|
### Bug did not quote
|
|
echo \>
|
|
>
|
|
echo \>
|
|
>
|
|
echo \> 2
|
|
> 2
|
|
> 2
|
|
### Must not quote
|
|
echo | wc -l
|
|
1
|
|
echo | wc -l
|
|
1
|
|
echo a b c | wc -w
|
|
3
|
|
echo a b c | wc -w
|
|
3
|
|
echo a b | wc -w
|
|
2
|