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). 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).No comments yet.