Re:Python vs Julia Observations
by dalke on Tuesday August 23, 2016 @07:20AM
(#12342790)
> What if the `$app` contains spaces?
The author writes "Whether dealing with string literals or back-ticks for expressing a command line, you can refer to a variable foo as $foo and it will be escaped properly."
The author writes "Whether dealing with string literals or back-ticks for expressing a command line, you can refer to a variable foo as $foo and it will be escaped properly."
http://docs.julialang.org/en/release-0.4/manual/running-exte... confirms that `` has special escaping rules designed to prevent the problems you pointed out.
> Or hyphens?
The interpretation of hyphens depends on the program being called, not the shell. There is no automated way to escape them.
I agree with everything else you wrote.