|
|
|
|
|
by archargelod
2 days ago
|
|
Why take a perfectly readable if-statement and turn it into something, 99.9% of people would need to lookup. Concise != better. You can make it one line with: [ -z "$1" ] && { echo "missing argument, aborting." 1>&2; exit 1 }
|
|
https://refp.se/articles/your-shell-and-the-magic-colon#why-...