God, Love, News, Event, Entertainment, Amebo,..... All about Bringing out the best in you...
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
Subscribe to:
Post Comments (Atom)
Show HN: Adam – An embeddable cross-platform AI agent library https://ift.tt/5akNz8h
Show HN: Adam – An embeddable cross-platform AI agent library https://ift.tt/Cz5vJ9D May 6, 2026 at 02:56AM
-
submitted by /u/Dull_Tonight [link] [comments] source https://www.reddit.com/r/worldnews/comments/pehy48/housing_secretary_robert_je...
-
Show HN: A Spotify player in the terminal with full feature parity https://ift.tt/oZgrl1Q July 18, 2024 at 02:57AM
-
Show HN: Wallpapper Splitter for Many Desktop I've build an simple tool to split your wallpapers across multiple desktops. Now you can u...
No comments:
Post a Comment