mawk does not like /r/
Clearer regular expression.