mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 22:17:54 +00:00
8865cbb10f
The code is quite messy, the implementation is fairly slow, but the structure seems sound and it passes the testsuite. basename {/} and {/.} implemented. Flushing of STDERR and STDOUT after each job completes.
8 lines
256 B
Bash
8 lines
256 B
Bash
#!/bin/bash
|
|
|
|
echo "### Computing length of command line"
|
|
seq 1 2 | parallel -k -N2 echo {1} {2}
|
|
parallel -k -a <(seq 11 12) -a <(seq 1 3) echo
|
|
parallel -k -C %+ echo '"{1}_{3}_{2}_{4}"' ::: 'a% c %%b' 'a%c% b %d'
|
|
parallel -k -C %+ echo {4} ::: 'a% c %%b'
|