A Scala shell script example (and discussion)
To run a Scala script as a Unix/Linux shell script, use a special syntax in the script file.
The 'exec' command in the shell script uses $0 to refer to the script file and $@ to refer to positional parameters.