MrCreditRepair.biz will fix your credit rating!

Just installed Jython, and learned something new from the manpage:

To make a jython script executable on your system you can add the following line to the top of the file:

#!/usr/bin/env jython

You will also need to add execute permissions to the script using chmod(1). Note that #!/usr/bin/jython will not work; you must use #!/usr/bin/env jython. This is because /usr/bin/jython is a script itself, not a compiled binary.

I'd seen /usr/bin/env used on many occasions (notably on one system that had the env binary in /bin, not /usr/bin), but never understood that it could be used for using a script to run a script.

Back to blog or home page

last updated 2010-12-01 23:42:34. served from tektonic