Closed nijel closed 6 years ago
I checked on my machine with bash 4.4.12
and for both #34 and #35 t_json
test failed,
with:
"\\nresult of test"
vs "\nresult"
, may be instead of quotes use something like this or python
?
Apparently there is something fishy in the way how shells handle \n
escape sequence. I've done some more testing and https://github.com/Dushistov/sdcv/pull/37 works in all shells I have around. Can you try if that fixes problem for you as well?
Did you try explicitly escaping \n
like \\n
(or perhaps rather \\\\n
to add an extra degree of escaping to everything) instead of depending on fallback behavior?
This way we can properly quote path.
This is probably better approach than just removing the quotes as done in #34.