22 Jan
2010
22 Jan
'10
3:15 a.m.
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.
Fixed. -- M?ns Rullg?rd mans at mansr.com