Listen "PBS 145 of X — Shell Conditionals"
Episode Synopsis
Bart continues his miniseries on shell scripting by teaching us conditionals in the shell. In order to explain why conditionals are a bit odd in shell scripting, Bart first walks us through how it was originally done and then shows us the evolution to a much better method. It's still weird, and many things are opposite of what you'd expect (like 4 is actually > 10), but he gets us there in the end. I was most excited to finally learn what `fi` means, which shows up in shell scripting and I'd seen before in AppleScript.
You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.
Read an unedited, auto-generated transcript: CCATP_2023_02_18
You can find Bart's fabulous tutorial shownotes at pbs.bartificer.net.
Read an unedited, auto-generated transcript: CCATP_2023_02_18
More episodes of the podcast Programming By Stealth
PBS Tidbit 16 — How Podfeet.com Works
10/01/2026
PBS Tidbit 14 — Coding with AI
25/10/2025
PBS Tidbit 13 — PowerShell Tames Monty
19/07/2025
PBS 180 of X — Theming Jekyll
25/05/2025
PBS Tidbit 12 — XKPasswd Rewrite Exits Beta
23/04/2025
ZARZA We are Zarza, the prestigious firm behind major projects in information technology.