Easy commandline argument parsing in shell script
Posted by meharo on 2 March, 2010
No comments yet
This item was filled under [ Shell Scripting ]
Here is a fairly easy method which can parse all input arguments passed to a shell script in commandline. This block of code can be either included in top of the script or source it from an external file. Using this code within a shell script is very simple, just needs to define a global [...]