2 ms·
awk 'match($0, /foo=([0-9]+)/, g) { print g[1] }' works in gawk (using extended match syntax allowing captured groups in the 3rd parameter array).
by meltedcapacitor 4y ago
awk 'match($0, /foo=([0-9]+)/, g) { print g[1] }'
works in gawk (using extended match syntax allowing captured groups in the 3rd parameter array).