I have the following julia script:
#!/usr/bin/env julia
println(ARGS)
Heres’s the output if I run it with an --
argument:
18:41:14|~/tmp
λ ./main.jl -a --b -- c
["-a", "--b", "c"]
What happened to --
?
Just in case, the Python version works as I’d expect
λ cat main.py
#!/usr/bin/env python3
import sys
print(sys.argv)
18:44:38|~/tmp
λ ./main.py -a --b -- c
['./main.py', '-a', '--b', '--', 'c']