Y
Hacker News
new
|
ask
|
show
|
jobs
by
harryjo
3379 days ago
interactive commands should abort
the command
on unset variable
1 comments
tomjakubowski
3379 days ago
"Abort command if variables are unset" is the -u flag, not -e. Both were mentioned long ago in this thread, but GP was talking about -e being painful for interactive shells. Imagine an interactive shell exiting as soon as a user's command failed!
link
dllthomas
3379 days ago
> Imagine an interactive shell exiting as soon as a user's command failed!
Hardcore mode.
link