Patch from Dmitry Zakharov:
authorRob Landley <rob@landley.net>
Tue, 7 Jun 2005 02:43:52 +0000 (02:43 -0000)
committerRob Landley <rob@landley.net>
Tue, 7 Jun 2005 02:43:52 +0000 (02:43 -0000)
commited830e8693941b8e54869ef4e68353ca2d71224e
tree33bdff8ca5390fb4be5ff64815b170d151f19517
parentf3133c414989a1409d79db43a426f122dc06cbed
Patch from Dmitry Zakharov:

Charlie Brady wrote:
> Here's another awk parsing problem - unary post increment - pre is fine:
>
>bash-2.05a$ echo 2,3 | gawk -F , '{ $2++ }'
>bash-2.05a$ echo 2,3 | /tmp/busybox/busybox awk -F , '{ $2++ }'
>awk: cmd. line:1: Unexpected token
>
Here's a fix for this. There is another problem with constructions like
"print (A+B) ++C", I don't
know whether somebody uses such constructions (fixing both these
problems would require very
serious change in awk code).
editors/awk.c