All tools

Shell Scripting

You're viewing a free preview. Sign in free to read every tool guide.

Strict mode, every time e — exit immediately on any command failure. u — treat unset variables as errors, not empty strings. o pipefail — a pipeline fails if any stage fails, not just the last. IFS=$'\n\t' — restricts…

Writing Robust Scripts

Sign in free to read this guide, along with the rest of the DevOps Tools library.

Sign in free