[julia-users] name of current executable (similar to Bash $0)

2016-07-21 Thread Curtis Vogt
I believe what you want is the constant `PROGRAM_FILE`. 
http://julia.readthedocs.io/en/latest/stdlib/constants/#Base.PROGRAM_FILE

[julia-users] name of current executable (similar to Bash $0)

2016-07-21 Thread Tamas Papp
I using a script written in Julia, called with the shebang line

#!/usr/bin/env julia

Now I would like to have symlinks of a different name to the script, and
have it perform slighly different tasks depending on which name was
used. In Bash, I would use $0, is there something equivalent in Julia?
Does not need to be portable, Linux is fine.

Best,

Tamas