greycat 1236717275 learn The external command getopt(1) is never safe to use. Use getopts (shell builtin) instead, or simply loop over the positional parameters. \amethyst 1253473634 forget \amethyst 1253473637 learn The external command getopt(1) is never safe to use, unless you *know* it is GNU getopt, you call it in a GNU-specific way, *and* you ensure that GETOPT_COMPATIBLE is not in the environment. Use getopts (shell builtin) instead, or simply loop over the positional parameters. emanuele6 1660440189 forget emanuele6 1660440251 learn The external command getopt(1) is never safe to use, unless you *know* it is util-linux getopt, you call it in a util-linux-specific way, *and* you ensure that GETOPT_COMPATIBLE is not in the environment. Use getopts (shell builtin) instead, or simply loop over the positional parameters (see !faq 35).