Show HN: Strawk – I implemented Rob Pike's forgotten Awk https://ift.tt/mMsA3CW

Show HN: Strawk – I implemented Rob Pike's forgotten Awk Rob Pike wrote a paper, Structural Regular Expressions ( https://ift.tt/nNJPOIM ), that criticized the Unix toolset for being excessively line oriented. Tools like awk and grep assume a regular record structure usually denoted by newlines. Unix pipes just stream the file from one command to another, and imposing the newline structure limits the power of the Unix shell. In the paper, Mr. Pike proposed an awk of the future that used structural regular expressions to parse input instead of line by line processing. As far as I know, it was never implemented. So I implemented it. I attempted to imitate AWK and it's standard library as much as possible, but some things are different because I used Golang under the hood. Live Demo: https://ahalbert.github.io/strawk/demo/strawk.html Github: https://ift.tt/UISxzb8 November 18, 2025 at 03:55AM

No comments:

Show HN: Pg-jason-validator fastest JSON schema validation via C Macros https://ift.tt/j6pKNDP

Show HN: Pg-jason-validator fastest JSON schema validation via C Macros https://ift.tt/viz4sog July 14, 2026 at 12:52AM