What is the behavior of `getopts` when it meets `--`? – unix.stackexchange.com

By convention -- signals that there is no more options after it. It seems to me that when using getopts with case clause, -) pattern subclause doesn't match --. So what is the behavior of getopts ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "What is the behavior of `getopts` when it meets `--`? – unix.stackexchange.com"