This week’s Programming By Stealth wasn’t a heavy lift but I managed to get confused a couple of times anyway so expect lots of questions from me in this one. Bart started the show by telling us about a clever tip from listener Jill of Kent about how to detect when the Terminal talking to […]
Continue readingMore TagCategory: Programming by Stealth
CCATP #767 – Bart Busschots on PBS 150 of X – Bash Script Plumbing (Take Two)
When Bart and I recorded PBS 150 on Bash Script Terminal Plumbing, neither of us was happy with it. I got very confused in the middle, and Bart decided that his original strategy might have been flawed in which he assumed everyone had heard Taming the Terminal and remembered everything taught more than 4 years […]
Continue readingMore TagCCATP #765 — Bart Busschots on PBS 149 of X — Better Arguments with POSIX Special Variables and Options
In this rather mind-bendy episode of Programming By Stealth, Bart Busschots takes into the weird world of POSIX special variables and options. He refers to some of them as being like handling nuclear power, at one point he suggests mind-altering drugs must have been involved in the design, and he even compares one of our […]
Continue readingMore TagCCATP #763 — Bart Busschots on PBS 148 – A Bash Potpourri (Subshells, Relative Paths & More)
This week’s Programming By Stealth is a great lesson on how no matter how long you’ve been coding, you’ll still get caught out from time to time and think that the universe makes no sense. When Bart was working on the challenge from PBS 147, he ran into a bizarre situation for many hours. He […]
Continue readingMore TagCCATP #762 — Bart Busschots on PBS #147 – Bash Arrays
In this week’s episode of Programming By Stealth, Bart walks us through how to create, add to, and extract from arrays using Bash. It’s a very light episode, which I manage to drag out longer by making him slow down and dig into the syntax used for arrays. It’s not just me being dense (this […]
Continue readingMore TagCCATP #761 — Bart Busschots on PBS 146 of X – Shell Loops
As Bart continues our education in shell scripting, he explains the simplicity of looping. He explains the four types of loops: while, until, for, and select, along with the simple syntax of do/done within a loop. He walks us through a lot of examples that illustrate how each one of these loops work. He ends […]
Continue readingMore TagCCATP #759 — Bart Busschots on PBS 145 of X — Shell Conditionals
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 […]
Continue readingMore TagCCATP #758 – Bart Busschots on Programming By Stealth 144
This week our guest is Bart Busschots with Programming By Stealth 144. When last we recorded, Bart started teaching us the basics of shell scripting using Bash. We learned how to collect terminal commands into a reusable shell script, but we didn’t learn how to accept any kind of input. In this installment, we learn […]
Continue readingMore TagCCATP #757 Bart Busschots on PBS 143 — Shell Script Basics
In this week’s episode of Programming By Stealth, Bart Busschots starts building out one more tool in our toolbox: shell scripts. Bart starts with the basics explaining how to tell our little scripts which shell to run using the shebang line, the structure of shell scripts, commenting, assigning, and using variables, and how to write […]
Continue readingMore TagCCATP #755 — Bart Busschots on PBS 142 — The XKPasswdJS Project Kickoff!
In this week’s installment of Programming By Stealth, Bart officially kicks off the XKPasswdJS project. This is what we’ve all been waiting for! As I said to Bart at the end of our recording, we’re no longer fixing to make a plan, we have a plan. The shownotes for this episode point to the README […]
Continue readingMore Tag