Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

GNU Parallel: --quote with multiple commands

$
0
0

How do I run multiple commands with the --quote/-q option?

For example, this quotes the ;:

$ parallel --dry-run -q command1 {1} \; command2 ::: "With a space" "Another space" "Yet more spaces" command1 'With a space'';' command2command1 'Another space'';' command2command1 'Yet more spaces'';' command2

¿How do I unquote it so that it runs:

command1 'With a space' ; command2command1 'Another space' ; command2command1 'Yet more spaces' ; command2

Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>