Hacker News new | ask | show | jobs
by tyingq 3340 days ago
Similar idea, but uses sqlite to make an awk like utility with sql syntax: https://github.com/dbohdan/sqawk
2 comments

And just yesterday, people were asking [0] what Tcl is good for! This is a great example.

[0] https://news.ycombinator.com/item?id=14229266

There's also q, which I've happily used for all sorts of data munging tasks:

https://harelba.github.io/q/

One example from that page:

   ps -ef | q -H "SELECT UID,COUNT(*) cnt FROM - GROUP BY UID ORDER BY cnt DESC LIMIT 3"