Life & fun · February 28, 2022
Prig – like AWK, but uses Go for “scripting”
Describes Prig, which is for Processing Records In Go. It's a text processing tool like AWK, but it uses Go as the scripting language.
Prig – like AWK, but uses Go for “scripting” launched on February 28, 2022 with 77 votes, #585 of 2,645 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 4 years on.
In plain words
Prig is a command-line text processing tool inspired by AWK that uses Go as its scripting language instead of AWK's traditional syntax. It allows users to write data processing scripts in Go, combining AWK's line-by-line processing model with Go's capabilities. The tool is designed for developers who prefer Go over AWK for text manipulation and data extraction tasks.
written from the facts on this page · September 2026
From the sources
Summary: The article describes Prig, my AWK-like tool that uses Go as the scripting language. I compare Prig with AWK, then dive into how Prig works, and finally look briefly at Prig’s Sort and SortMap builtins (which use Go’s new generics if Go 1.18 is available). In a recent Hacker News comment I learned about rp , a little text processing tool by Charles Blake that is kind of like AWK, but uses Nim as the scripting language. The works because the Nim compiler is fast and the Nim language is terse, so you can use it for one-off scripts. Go has one of those two things going for it: fast build times. It’s not exactly terse, which makes it less than ideal for one-liner scripts. On the other…from benhoyt.com
Does a similar job
all alternatives →
Bsed – Simple, English syntax on top of Perl text processing2019 · github.com · ▲178Simple SQL-like syntax on top of Perl text processing. - andrewbihl/bsed
- ACA complete Bash parser in JavaScript transpiled from Go2018 · npmjs.com · ▲89
Purl – A Simple Tool for Text Processing2024 · github.com · ▲71Hello HN community, I'm excited to share a new command-line tool I developed called purl, inspired by the simplicity of Perl one-liners for efficient text processing. Purl features include Perl-like regex that simplifies text manipulation, it's cross-platform so works equally well on macOS, Linux, etc., and it's quick and easy to install. The tool also supports simple commands such as -replace, -filter, and -exclude, and offers optional color output to enhance readability. Purl is a practical alternative to traditional tools like sed and grep, designed to address some of their common…
Choose – An alternative to cut and sometimes awk2020 · github.com · ▲87A human-friendly and fast alternative to cut (and sometimes awk) - theryangeary/choose
Goboscript, text-based programming language, compiles to Scratch2025 · github.com · ▲162goboscript is a text-based programming language which compiles to Scratch. It allows you to write Scratch projects in text, and compile it into a .sb3 file - which can be opened in the Scratch editor, TurboWarp or be uploaded to the Scratch website. goboscript allows you to create advanced Scratch projects with ease, you can use any text editor, use a version control system such as git. You can refactor your code using search and replace. Text code can be copy pasted, which allows you to easily reuse code or share it with others. goboscript syntax is concise and easy to read. goboscript…
jql – Easier jq Alternative with a Lispy Syntax Written in Go2020 · github.com · ▲217Easy JSON Query Processor with a Lispy syntax in Go - cube2222/jql
More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 1d ago · permit.petercai.com
- IV
Life & fun · 14d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 15d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, February 2022
the whole month →

Sha256 algorithm explained online step by step visually
Life & fun · 2022 · sha256algorithm.com
EdgeDB 1.0▲947Today, after years of research, development, and refinement EdgeDB graduates to a production-ready database. We are very proud to announce EdgeDB 1.0.
Dev tools · 2022 · edgedb.com


