PBS logo: a tiny ninja with a pale face surrounded on either side by two squiggly brackets denoting programming. Get it? Ninja is stealthy!

CCATP #773 — Bart Busschots on PBS 152B — Bash: xargs & Easier Arithmetic

In Programming By Stealth 152A Bart and I decided to hold off on the middle of the lesson he’d written up. That middle bit where he said to “put a pin in it” was about the use of xargs. I’m really glad we did skip it in the last installment. It’s a pretty useful concept and deserved a lot more attention than it would have if we’d tried to cram it into that episode. The other good news is that Bart learned a bit more about how xargs does its magic, so he is better able to explain it, and he updated the shownotes with a lot more detail and a great worked example.

As a teaser, the big problem xargs was designed to solve is that there are times when we want the data from the standard input stream (STDIN) to be passed to another command as one or more arguments.

You can find Bart’s fabulous tutorial shownotes at pbs.bartificer.net.

mp3 download

Read an unedited, auto-generated transcript: CCATP_2023_07_08

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top