mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-12-23 13:17:54 +00:00
16 lines
498 B
Bash
16 lines
498 B
Bash
#!/bin/bash
|
|
|
|
echo '### Test {//}'
|
|
parallel -k echo {//} {} ::: a a/b a/b/c
|
|
parallel -k echo {//} {} ::: /a /a/b /a/b/c
|
|
parallel -k echo {//} {} ::: ./a ./a/b ./a/b/c
|
|
parallel -k echo {//} {} ::: a.jpg a/b.jpg a/b/c.jpg
|
|
parallel -k echo {//} {} ::: /a.jpg /a/b.jpg /a/b/c.jpg
|
|
parallel -k echo {//} {} ::: ./a.jpg ./a/b.jpg ./a/b/c.jpg
|
|
|
|
echo '### Test --dnr'
|
|
parallel --dnr II -k echo II {} ::: a a/b a/b/c
|
|
|
|
echo '### Test --dirnamereplace'
|
|
parallel --dirnamereplace II -k echo II {} ::: a a/b a/b/c
|