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

You can use default values to avoid the nasty error. ${1:-} will expand to an empty string if your script is called without arguments.


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

Search: