awk-like utility with C as language