req is a text snippet router: given a string, say from your X11 cut buffer, it will classify and extract information contents, and merge that with context information. You write rule files ("ports") in awk to match against this data and to generate a menu of available shell commands.

For @dredmorbius . Feel free to bug me about anything.


Heck, there's even an example for an episode calculator, that constructs an url for the next episode or season by replacing SxxEyy in a source url, and then opens that!

I've somewhat abused it to handle hotkeys, and somewhat more to colorize xterms. The latter turned out rather ugly.

If in doubt, forget about the examples, the framework under lib/ and the bin/req frontend are quite mature, as far as gawk allows. Then there's


Sign in to participate in the conversation

Everyone is welcome as long as you follow our code of conduct! Thank you. is maintained by Sujitech, LLC.