2010-12-02 23:04:12 +00:00
|
|
|
### Test --basenamereplace
|
|
|
|
b.c b.c b.c b b b
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
2011-07-16 23:46:02 +00:00
|
|
|
### Test --bnr
|
|
|
|
b.c b.c b.c b b b
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b.c
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
2012-04-24 21:59:29 +00:00
|
|
|
### Test --extensionreplace
|
|
|
|
/a/b a/b b /a/b a/b b
|
|
|
|
/a/b
|
|
|
|
a/b
|
|
|
|
b
|
|
|
|
/a/b
|
|
|
|
a/b
|
|
|
|
b
|
|
|
|
### Test --er
|
|
|
|
/a/b a/b b /a/b a/b b
|
|
|
|
/a/b
|
|
|
|
a/b
|
|
|
|
b
|
|
|
|
/a/b
|
|
|
|
a/b
|
|
|
|
b
|
2010-12-02 23:04:12 +00:00
|
|
|
### Test --basenameextensionreplace
|
|
|
|
b b b b b b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
2011-07-16 23:46:02 +00:00
|
|
|
### Test --bner
|
|
|
|
b b b b b b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
|
|
|
b
|
2010-12-02 23:04:12 +00:00
|
|
|
### 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
|
2010-12-14 08:40:42 +00:00
|
|
|
### Test combined -X --return {/}_{/.}_{#/.}_{#/}_{#.} with files containing space
|
2011-02-17 16:23:38 +00:00
|
|
|
parallel: Warning: using -X or -m with --sshlogin may fail
|
2010-12-14 08:40:42 +00:00
|
|
|
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
|
2010-12-02 23:04:12 +00:00
|
|
|
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
|
2010-12-14 08:40:42 +00:00
|
|
|
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
|
2010-12-02 23:04:12 +00:00
|
|
|
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
|
2010-12-14 08:40:42 +00:00
|
|
|
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
|