News for hackers. Stuff that matters.
Re:Show HN: Useful scripts and environment setup for coding ... by m463 on Thursday October 01, 2020 @06:18PM (#24656757)
I had to deconstruct that since I only use #!/bin/sh -xe

-e : exit immediately if statement has non-zero exit status

-x : echo each command

-u : treat unset variables as an error

-o pipefail : If set, the return value of a pipeline is the value of the last (rightmost) command to exit with a non-zero status, or zero if all commands in the pipeline exit successfully.

that is actually much better than -xe, thank you, I learned something

There are no comments on this comment yet.