struys/jshint — pull request #1 by Roguelazer (2012-01-10 23:04:54+00:00)
Title: rewrite jshint bash wrapper

Changes:
- gets rid of the more useless bashisms (like double-brackets and the word "function")
- uses getopt instead of option-parsing by hand
- parameterizes the install root
- writes errors to stderr instead of stdout
- uses `readlink -f` if available
- has only one wrapper function for the js interpreter instead of two
- declares global variables globally