Deutsch   English   Français   Italiano  
<va3m12$10662$1@news.xmission.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.awk
Subject: AWK language trivia (Was: (Long post) Metaphone Algorithm In AWK)
Date: Wed, 21 Aug 2024 03:13:38 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <va3m12$10662$1@news.xmission.com>
References: <v9qbgh$1u7qe$1@dont-email.me> <va3k5u$3n2um$1@dont-email.me>
Injection-Date: Wed, 21 Aug 2024 03:13:38 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
	logging-data="1054914"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
Bytes: 1266
Lines: 17

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 -