Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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/t...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: