Improve your shell skills with Clai
I created a very simple command line utility in go that helps you create non-trivial command line / shell commands. It’s actually just a thin wrapper around the openai API’s, but it can be pretty usefull and saves you from switching to a chatgpt session or stackoverflow.
E.g.
$ clai "group a tab separated file by first column, sum them by third column" awk -F'\t' '{sum[$1] += $3} END {for(group in sum) print group, sum[group]}' file.
vanderwijk.info