Timeline for Does Bash have an option to diagnose "expanded to empty value" variables?
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 7, 2024 at 11:00 | comment | added | pmor |
Thanks. While reading manual for set builtin I've overlooked -u / nounset.
|
|
| Oct 7, 2024 at 10:58 | vote | accept | pmor | ||
| Oct 4, 2024 at 15:37 | comment | added | Stéphane Chazelas |
Also note set -o nounset as a more descriptive alternative, common to all POSIX sh implementations (as in the often used (for better or worse) set -o nounset -o errexit -o pipefail (pipefail being a recent addition to POSIX)).
|
|
| Oct 4, 2024 at 15:11 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 4.0 |