Strict

strict_euopipefail

Enable the Unofficial Strict Mode: errexit, errtrace, nounset, pipefail. WARNING: This mode has well-known flaws. Read the project CONTRIBUTING guide and research the risks before using it in production scripts.

Exit codes

  • 0: Always

strict_nowhitesplitting

Set IFS to tab and newline, disabling word splitting on spaces.

Exit codes

  • 0: Always

strict_safe

Enable a modernish-style 'safe' mode: empty IFS (no word splitting), noglob (no pathname expansion), nounset (unset variable errors), and noclobber (prevent accidental file overwriting with >). Inspired by modernish safe.mm.

Exit codes

  • 0: Always