Skip to content
This repository has been archived by the owner on Jul 11, 2019. It is now read-only.

--quote for arguments? #56

Open
mqudsi opened this issue Oct 14, 2017 · 0 comments
Open

--quote for arguments? #56

mqudsi opened this issue Oct 14, 2017 · 0 comments
Milestone

Comments

@mqudsi
Copy link

mqudsi commented Oct 14, 2017

I originally understood --quote to escape the {...} substitutions, not the command. Maybe it should escape both?

~> echo "hello 'world'" | parallel --quote --dry-run file -ib
parallel: reading inputs from standard input
file -ib hello 'world'

To obtain the following output:

file -b hello\ \'world\'

In fact, I'd argue that the default behavior is that input converted to arguments should be escaped before substitution.

@mmstick mmstick added this to the 0.12 Rewrite milestone Dec 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants