Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Splognosticus
on July 18, 2014
|
parent
|
context
|
favorite
| on:
Use the unofficial Bash strict mode
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: