經安全檢測,此網站為安全網站,請放心前往原始網址!

Small getopts tutorial [Bash Hackers Wiki]

getopts can easily set shell variables you can use for parsing (impossible for an .... bin/bash while getopts ":a" opt; do case $opt in a) echo "-a was triggered!

wiki.bash-hackers.org

網址安全性掃描由 google 提供