Хабр Курсы для всех
РЕКЛАМА
Практикум, Хекслет, SkyPro, авторские курсы — собрали всех и попросили скидки. Осталось выбрать!
-T, --test
Test if your getopt(1) is this enhanced version or an old version. This generates no output, and sets
the error status to 4. Other implementations of getopt(1), and this version if the environment vari‐
able GETOPT_COMPATIBLE is set, will return `--' and error status 0.
bash скрипт с поддержкой длинных (gnu-style) опций