Unexpected positional replacement strings substitution

2017-02-11 Thread aero
Hi, I try to execute a shell script like the following form. p.sh -script start-- #!/bin/bash SCRIPT=$(cat <<'EOF' # long shell script echo $1 echo ${1} EOF ) parallel -v "ssh {} bash <<'_PARALLEL' $SCRIPT _PARALLEL" ::: localhost -script end-

Re: Uses of GNU Parallel

2017-02-11 Thread Hans Schou
2017-02-10 6:46 GMT+01:00 Prince Sibanda <[email protected]>: > So i have several programs to pipe together, where each program in the > pipe could optionally run in parallel. > It sounds like you will have that in shell script and then call parallel. > I would like an extension where GN