Linux News
The world is talking about GNU/Linux and Free/Open Source Software
How to use getopts to parse a script options
Modifying a bash script behavior via runtime options, just like we normally do with command line programs, can be very useful. The bash shell provides the getopts builtin command, a standard way to achieve this. How to use it is what we will learn in this tutorial.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.