[Bug 12981] awk: seems to try to falsely expand strings

bugzilla at busybox.net bugzilla at busybox.net
Mon Jun 8 15:14:58 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=12981

--- Comment #5 from Steffen Nurpmeso <steffen at sdaoden.eu> ---
Hello again.

Just to add, i got response regarding this awk behaviour from Aharon (Arnold)
Robbins (the maintainer of GNU awk and now also nawk), and he says

  >   Also, i think that you should put parentheses around the
  >   ++unavail in your original code since there is no defined
  >   precenence around string concatenation.
  >
  > This is for the snippet
  >
  >                ia[1] = "(su__ERR_NUMBER_MAX - " ++unavail ")"

  I think he's wrong.  The ++unavail would have to be done before
  converting the result to string for the concatentation.

  My opinion, of course.

Ciao from Germany (what a pity this cannot be driven with email responses,
urgh)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list