mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
fe8a8aa41b
--bner alias for --basenameextensionreplace.
73 lines
2.6 KiB
Plaintext
73 lines
2.6 KiB
Plaintext
### Test --basenamereplace
|
|
b.c b.c b.c b b b
|
|
b.c
|
|
b.c
|
|
b.c
|
|
b
|
|
b
|
|
b
|
|
### Test --bnr
|
|
b.c b.c b.c b b b
|
|
b.c
|
|
b.c
|
|
b.c
|
|
b
|
|
b
|
|
b
|
|
### Test --basenameextensionreplace
|
|
b b b b b b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
### Test --bner
|
|
b b b b b b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
b
|
|
### Test {/}
|
|
b.c b.c b.c b b b
|
|
### Test {/.}
|
|
b b b b b b
|
|
### Test {#/.}
|
|
number2
|
|
### Test {#/}
|
|
number2.c
|
|
### Test {#.}
|
|
a/number2
|
|
### Test combined -X --return {/}_{/.}_{#/.}_{#/}_{#.} with files containing space
|
|
parallel: Warning: using -X or -m with --sshlogin may fail
|
|
mkdir -p tmp/number1.c_number1_number2_number2.c_a/number2 tmp/number2.c_number2_number2_number2.c_a/number2 tmp/number3.c_number3_number2_number2.c_a/number2 tmp/number4_number4_number2_number2.c_a/number2 tmp/number5_number5_number2_number2.c_a/number2 tmp/number6_number6_number2_number2.c_a/number2 tmp/number\ 7_number\ 7_number2_number2.c_a/number2 tmp/number\ \<8\|8\>_number\ \<8\|8\>_number2_number2.c_a/number2 ;touch tmp/number1.c_number1_number2_number2.c_a/number2/file tmp/number2.c_number2_number2_number2.c_a/number2/file tmp/number3.c_number3_number2_number2.c_a/number2/file tmp/number4_number4_number2_number2.c_a/number2/file tmp/number5_number5_number2_number2.c_a/number2/file tmp/number6_number6_number2_number2.c_a/number2/file tmp/number\ 7_number\ 7_number2_number2.c_a/number2/file tmp/number\ \<8\|8\>_number\ \<8\|8\>_number2_number2.c_a/number2/file
|
|
tmp
|
|
tmp/number6_number6_number2_number2.c_a
|
|
tmp/number6_number6_number2_number2.c_a/number2
|
|
tmp/number6_number6_number2_number2.c_a/number2/file
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a/number2
|
|
tmp/number <8|8>_number <8|8>_number2_number2.c_a/number2/file
|
|
tmp/number3.c_number3_number2_number2.c_a
|
|
tmp/number3.c_number3_number2_number2.c_a/number2
|
|
tmp/number3.c_number3_number2_number2.c_a/number2/file
|
|
tmp/number5_number5_number2_number2.c_a
|
|
tmp/number5_number5_number2_number2.c_a/number2
|
|
tmp/number5_number5_number2_number2.c_a/number2/file
|
|
tmp/number2.c_number2_number2_number2.c_a
|
|
tmp/number2.c_number2_number2_number2.c_a/number2
|
|
tmp/number2.c_number2_number2_number2.c_a/number2/file
|
|
tmp/number1.c_number1_number2_number2.c_a
|
|
tmp/number1.c_number1_number2_number2.c_a/number2
|
|
tmp/number1.c_number1_number2_number2.c_a/number2/file
|
|
tmp/number4_number4_number2_number2.c_a
|
|
tmp/number4_number4_number2_number2.c_a/number2
|
|
tmp/number4_number4_number2_number2.c_a/number2/file
|
|
tmp/number 7_number 7_number2_number2.c_a
|
|
tmp/number 7_number 7_number2_number2.c_a/number2
|
|
tmp/number 7_number 7_number2_number2.c_a/number2/file
|
|
### Here we ought to test -m --return {/}_{/.}_{#/.}_{#/}_{#.} with files containing space
|
|
### But we will wait for a real world scenario
|