mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-10-18 12:59:39 +00:00
15 lines
528 B
Bash
15 lines
528 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
SERVER1=parallel-server3
|
||
|
SERVER2=parallel-server2
|
||
|
|
||
|
echo '### Test --trc with space added in filename'
|
||
|
echo original > '/tmp/parallel space file'
|
||
|
echo '/tmp/parallel space file' | parallel --trc "{} more space" -S $SERVER1 cat {} ">{}\\ more\\ space"
|
||
|
cat '/tmp/parallel space file more space'
|
||
|
|
||
|
echo '### Test --trc with >|< added in filename'
|
||
|
echo original > '/tmp/parallel space file'
|
||
|
echo '/tmp/parallel space file' | parallel --trc "{} >|<" -S $SERVER1 cat {} ">{}\\ \\>\\|\\<"
|
||
|
cat '/tmp/parallel space file >|<'
|