goawk

POSIX-compliant AWK interpreter written in Go

brewmacoslinux
Try with needOr install directly
Source

About

POSIX-compliant AWK interpreter written in Go

Commands

goawk

Examples

Print specific columns from a CSV file$ goawk -F, '{print $1, $3}' data.csv
Sum values in a column and print the total$ goawk '{sum += $2} END {print "Total:", sum}' numbers.txt
Filter and display lines matching a pattern$ goawk '/error/ {print NR": "$0}' logfile.log