-
code=${PIPESTATUS[0]} -- getting pipestatus codes.
-
-- end of options https://www.cyberciti.biz/faq/what-does-double-dash-mean-in-ssh-command
-
fold command - wrap line lengths.
-
zsh versus bash
-
defensive programming
-
debugfs
-
ShayMoi https://www.chezmoi.io/
-
Add a keywords index for links through to examples.
-
listing state; functions, env, paths, etc
-
stdbuf, stty, tty
-
running commands from gists.
## Run with curl from gist
export MAP_FILE=$(pwd)/test.map
ROLE=$(curl -s https://gist.githubusercontent.com/chrisguest75/b6bf4770237e1307b3fef4ffa3d4a187/raw/0f05f1ae43ce0102fe9394b6dead9d502876be0d/get_mapped_value.sh | bash -s account1)
echo $ROLE