3 ms·
Self promotion, but as this is my first year doing advent of code I'm solving all of the problems using awk[1], the solutions will be published here[2] [1]: ht
by messe 7y ago
Self promotion, but as this is my first year doing advent of code I'm solving all of the problems using awk[1], the solutions will be published here[2]
[1]: https://man.openbsd.org/awk https://man.openbsd.org/awk
[2]: https://jo.ie/advent-of-awk-2019.html https://jo.ie/advent-of-awk-2019.html
- cfors 7y agoWith respect to the fact that 99% of my use of awk is done like this: > | awk '{print $<word>}' The solution to the first exercise looks surprisingly clean. It will be interesting to see how they continue as the challenges get harder. Bookmarked!
- bewuethr 7y agoI've used awk for one year of Advent of Code: https://github.com/bewuethr/advent-of-code/tree/master/2016 https://github.com/bewuethr/advent-of-code/tree/master/2016 Some problems feel like they were designed to be solved in awk, like the assembly style ones. Others, not so much... But it was great fun overall and I learned a lot about awk.
- mathw 7y agoAs someone using a completely mainstream and normal language (well, Rust), I salute you.