So I am trying to write an .sh file that will be executable, this is how I\'m currently writing it:
Writer output = null; try { output = new BufferedWrite
On Mac OS X, besides chmod +x, you have to give a .command extension to your shell script if you want to launch it with a double-click.
.command