Quote:
Originally Posted by kovidgoyal
You should not be passing it as a single string, pass it as
'-f', 'comment string'
i.e. as two separte strings or if you want to use a single string use.
--field=comment
|
That's (almost) exactly what I'm doing.
Difference is just 'comment string' starts with "comments:"
Two strings:
1) "-f"
2) "comments:very long string containing whatever char like colons: normal or ":" escaped. newlines
like this and - -- ' , etc. etc."
The outermost '"' (quotes) are NOT par of actual string.
How should I escape (2)?
Will '\n' '\"' and similia be recognized?
TiA