3 ms·
Yep, my thought exactly. My standard bash header is #!/bin/bash set -eu IFS=$'\n\t' (Wish there was a shorthand version of pipefail, then I'd alwa
by shawkinaw 12y ago
Yep, my thought exactly. My standard bash header is
#!/bin/bash
set -eu
IFS=$'\n\t'
(Wish there was a shorthand version of pipefail, then I'd always use that too.)
- LeoPanthera 12y agoYou can save a line by doing #!/bin/bash -eu
- krotton 12y agoWhich is no equivalent if the script is executed using "bash script.sh" ;).