No worries.
I understand it's introducing the basic way. It's just, you have to take it only a little bit further to run into problems your article doesn't cover. Instead of using a standard, well-documented way, you're re-inventing the wheel with no pros. For instance, if I have more than one option, what do I do? If my options take values, what do I do? Also, the way you've described doesn't respect the POSIX convention (only arguments that start with a hyphen are options, may be clustered etc) (gnu.org/software/libc/manual/html_...).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Pavel, thanks for the suggestions, the article just has a purpose to introduce the basic way to using bash script.
No worries.
I understand it's introducing the basic way. It's just, you have to take it only a little bit further to run into problems your article doesn't cover. Instead of using a standard, well-documented way, you're re-inventing the wheel with no pros. For instance, if I have more than one option, what do I do? If my options take values, what do I do? Also, the way you've described doesn't respect the POSIX convention (only arguments that start with a hyphen are options, may be clustered etc) (gnu.org/software/libc/manual/html_...).