Is that Awk on RedHat a GNU Awk older than 4.0.0 ? Because those not processed regular expression intervals ( those quantifiers in braces ), unless [tt]--re-interval[/tt] switch was used. ( Or the [tt]--posix[/tt] you already discovered. )
If that is the case, as far as I know your only portable option is to not use intervals : [tt][0-9]{1,3}[/tt] -> [tt][0-9][0-9]?[0-9]?[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.