Quote:
Originally Posted by
tukuyomi
That won't work.
In that expression, string concatenation has highest precedence, so, firstly,
5" "$0 is joined. Then, while converting the just-concatenated string to a numeric,
+= truncates it at the first space, discarding the entire record, $0.
Your suggestion is equivalent to
$0=i+=5. Aside from the discarded data, this generates an arithmetic sequence which begins at 5, not 0.
Regards,
Alister