Skip to content

Instantly share code, notes, and snippets.

@jonahx
jonahx / jrun-table.ijs
Created December 2, 2019 18:46 — forked from amerlyq/jrun-table.ijs
Awk-like table data processing in J (jsoftware)
#!/bin/sh
#0 :0
trap '' PIPE
exec /usr/lib/j8/bin/jconsole "$0" "$@"
# vim:ft=j
)
NB.SUMMARY: awk-like table data processing
NB.USAGE: $ ./$0 [-b 'beg-exprs'..] [-e 'end-exprs'..] ['line-exprs'...]
NB. TODO: gather all files (and stdin by '-') into single list of boxes with data