5 ms·
The bit at the end isn't POSIX sh, either. Fixed version: if [ $# -eq 0 ] || [ "$1" = "-h" ]; then help exit 1 fi Relevant spec bits: https://pubs.op
by ddevault 6y ago
The bit at the end isn't POSIX sh, either. Fixed version:
if [ $# -eq 0 ] || [ "$1" = "-h" ]; then
help
exit 1
fi
Relevant spec bits:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html https://pubs.opengroup.org/onlinepubs/9699919799/utilities/t...