Hacker News new | ask | show | jobs
by harryjo 3379 days ago
interactive commands should abort the command on unset variable
1 comments

"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!
> Imagine an interactive shell exiting as soon as a user's command failed!

Hardcore mode.