You can use the Mozilla project's Rhino parser to write shell scripts in JavaScript / ECMA script on OS X. This tutorial walks you through the process.
•
[3,225 views]

