Gek is a simple programming language for the simple life. It's a day to day utility and the glue of [many] projects. Sum each row of a file:$ gek 'fields sum $' myfile
Join lines which end with a backslash:$ gek 'forever r "\" ends while r -1 cut ! bump loop r $'
Reinvent the tail command:#! /bin/gek -F B mapping Opt 10 "n" map Opt Args "n:" optparse Opt as Args ; r depth "n" Opt keep FE depth #$ ;
Getting started
There's a comprehensive tutorial here including installation.
Source Code
Gek is free software and you can find the source code here.