Comment 0 for bug 1048135

Revision history for this message
Malaise (malaise) wrote :

echo "30 29 27 26 23" | mawk '{gsub ("^[^ ]+ ", ""); print $0}'
leads to print "23" instead of "29 27 26 23"
According to the man the leading "^" matches the front of a string, but it seems to be ignored.

This works OK with gawk.