Ben Nadel  Building Executable Scripts For The Mac OSX Command
Line  By Ben Nadel on  I'm relatively new to the Mac OSX
operating system. And, as far as getting around on the command-
line, I'm even more of a novice. I can't remember where I saw
this, but recently, I saw a fellow programmer execute a set of
command-line scripts from a file. What was so interesting to me
about this, however, was that the file was invoked like a
standard executable file. I think this is what a BAT file does
on Windows. And in the Mac OSX / *NIX world, I think this is
referred to as "Bash Scripting." Whatever it is, it seems really
cool and I want to learn how to take advantage of it.  A couple
of weeks ago, I wrote a small but non-trivial drag-n-drop
JavaScript application in an effort to learn more about
RequireJS, modular JavaScript application development, and MVC
(Model-View-Controller) programming. As part of the exercise, I
used the RequireJS compiler - r.js - to concatenate and minify
all of the JavaScript dependencies. I