Comment
Comment by jmdeldin
This seems more cumbersome than opening AppleScript Editor, writing the following, and saving the script as an app.
Despite being an obnoxious language, AppleScript is pretty handy for distributing shell scripts onto non-technical users' machines.