txr

Lisp-like language for data extraction, transformation and reporting

brewmacoslinux
Try with needOr install directly
Source

About

Lisp-like programming language for convenient data munging

Commands

txr

Examples

Parse and extract data from a text file using pattern matching$ txr 'pattern.txr' input.txt
Execute inline TXR code to process data$ txr -c '(put-line "Hello from TXR")'
Process structured data with TXR template and variables$ txr -B 'vars.txr' template.txr data.txt