Deutsch   English   Français   Italiano  
<v254ev$125p2$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: alt.comp.lang.awk,comp.lang.awk
Subject: Once upon a time... (Was: printing words without newlines?)
Date: Thu, 16 May 2024 14:15:59 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <v254ev$125p2$1@news.xmission.com>
References: <v1pi7c$2b87j$1@dont-email.me> <v250m9$1j3gp$1@dont-email.me> <v2538p$1jmvm$1@dont-email.me>
Injection-Date: Thu, 16 May 2024 14:15:59 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
	logging-data="1120034"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
Bytes: 1608
Lines: 15

In article <v2538p$1jmvm$1@dont-email.me>,
Janis Papanagnou  <janis_papanagnou+ng@hotmail.com> wrote:
....
>A function definition called once from the BEGIN section isn't
>called "once per input line".

Especially since it is commented out, so it executes exactly zero times.

Actually setting ORS (or any other similar variable) inside a function
definition is not such a bad idea, in terms of modularity.

-- 
To all the people worried about how bad it would look to have a public trial of a
former president (and all the usual verbiage that we heard in 1974), I say this to DJT:
    Just plead guilty, take your medicine, do your time, just fade away.
    For the good of the country.  Do the right thing.