Ga naar de hoofdinhoud

Sort each script behavior into the right contract surface

Classify shell script behaviors by the interface surface that should carry them.

shell-scripting4 min read

Sort each behavior into the contract surface that should carry it. Stdout data Stderr diagnostics Exit status control Environment config Filesystem side effect The JSON report another job pipes into jq A newline-delimited list of processed customer IDs Processing 42 files... Skipping empty directory Return nonzero when required -c CUSTOMER is missing Return nonzero when kubectl apply fails S3_BUCKET supplied by CI or cron API_TOKEN injected by the secret manager wrapper Create report.csv under --out-dir Remove the temporary workspace on exit

Read the full lesson

Sign up free: one personalized lesson every day, matched to your role and goals.

← Back to library

Neem contact op