I am seeing if there is a way for getopts
to handle switches with strings instead of characters.
For example, I would like to supply something like this:
script.ksh -file1 file1.txt -file2.txt
Instead of:
script.ksh -f file1.txt -g file2.txt
Is this possible with unix getopts
? Thanks!