Felipe Contreras <[email protected]> writes:
>> open $fh, "-|", qw(sh -c), $cmd, @args
>
> That doesn't seem to work for me.
My fault. It needs to form a command line like this:
sh -c 'cccmd --frotz --nitfol "$@"' - a r g s
[jc: goes and tries
$ sh -c 'echo X Y "$@"' - a r g s
X Y a r g s
]
so if we want to get rid of \Q\E, it would be:
open $fh, '-|', qw(sh -c), "$cmd " . '"$@"', '-', @args
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html