Translate

Archives

Image of Operating System Concepts
Image of Beginning Google Maps API 3
Image of Modern Operating Systems (3rd Edition)
Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)

JavaScript Shell Command Line Processing

This post demonstrates how to provide robust support for command line argument processing in a JavaScript shell using the classical Unix getopts paradigm. It also demonstrates how to access environmental variables from a JavaScript shell.