Tag bash

2 bookmarks have this tag.

2023-11-06

835.

set -e, -u, -o, -x pipefail explanation

gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425

Bash strict mode.

set -euxo pipefail

The -x is sometimes not needed, it prints out every input back. So, this is an option:

set -euo pipefail

2023-05-05

194.

EnglishFrontPage - Greg's Wiki

mywiki.wooledge.org

This is Greg's (also known as GreyCat's) wiki. It has some pages which may be of interest for people doing Unix shell scripting or system administration.

All Bash quirks are here.