Apparently this year I'll actually be doing #AdventOfCode in #awk!
I did my first pass at Day 2 Part 1 entirely in bash, and it was a mess. Cumbersome, and I did it a "clever" way mostly because I didn't know how to do math in bash. There was a much simpler way, that I would have immediately used in a "real" programming language, but my brain didn't see it because I was in bash.
So after I finished, I asked ChatGPT what I should have done, and it pointed me right back to awk. (Or to python, but I'm trying to use standard unix tools.) And it suggested https://learnxinyminutes.com/awk/ - which is just awesome! Exactly what I needed to really get started with awk.
So then I redid Part 1 purely in awk, with ChatGPT's help, and that was instructive. Then I did Part 2 from scratch, and it went well and it was much easier on my brain.
Then I asked ChatGPT for a final code review, and it had a few minor suggestions that I incorporated, and a few bigger ones that I didn't. All of them helped me learn awk better. And overall I'm happy with what I wrote.
https://github.com/truist/Advent-Of-Code-26/blob/main/02/main.awk