Y
Hacker News
new
|
ask
|
show
|
jobs
by
shawabawa3
3380 days ago
You can also do
#!/bin/sh -eu
Although i'm not sure if there are any advantages/disadvantages
1 comments
wahern
3379 days ago
Disadvantage is that nobody can use an alternative shell to run your script as intended. (Alternative here could mean a less buggy version of whatever is the system shell.)
link