22 Jan
2010
22 Jan
'10
3:35 a.m.
On Fri, 2010-01-22 at 03:15 +0000, M?ns Rullg?rd wrote:
Uoti Urpala <uoti.urpala at pp1.inet.fi> writes:
On Thu, 2009-08-06 at 17:45 +0200, mru wrote:
+ awk "/$1=/{ match(\$0, /$1=(\\w+)/, a);print a[1];exit }" $TMPE
This fails with mawk.
For the record, mawk is not posix-compliant. Check the real spec before complaining. If you did, don't bother mentioning non-standard tools.
Looks like 3-argument match() is not in POSIX.
I saw a report about a failure with mawk, and checked the actual POSIX spec. I'm not familiar with mawk or its level of standard-compliance myself. I think the way I reported the problem was reasonable.