Reviewing a #linux #bash #script written by a younger #developer. It uses getopts, read and #sed.
The ancient rituals persist!
@davidr Bonus points for getopts! That's an underused feature if there ever was one.
@opsitive Not sure he used it *right*, because he manually checks for missing args and the #manpage seems to say it can do that.
But I never use it at all, so bonus points for sure. (If i needed to do that, I'd just switch to a Real Language)
I should really add getopts to my arsenal, bc hundreds of system() calls is not always better...