Sujet : AWK language trivia (Was: (Long post) Metaphone Algorithm In AWK)
De : gazelle (at) *nospam* shell.xmission.com (Kenny McCormack)
Groupes : comp.lang.awkDate : 21. Aug 2024, 04:13:38
Autres entêtes
Organisation : The official candy of the new Millennium
Message-ID : <va3m12$10662$1@news.xmission.com>
References : 1 2
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
va3k5u$3n2um$1@dont-email.me>,
Mike Sanders <
porkchop@invalid.foo> wrote:
just in case...
>
not sure its wise to use 'm += var' with digits:
>
m += string # valid
m += "7" # may be invalid if its a digit (even if quoted)
In AWK, these are very different things.
+= is always arithmetic; it is not string concatenation at all.
-- Christianity is not a religion. - Rick C Hodgin -