Хабр Курсы для всех
РЕКЛАМА
Большая витрина: от крупнейших школ до частных авторов. Сравнивайте по цене, длительности, формату и выбирайте самый подходящий курс!
-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) опций