Once upon a time... (Was: printing words without newlines?)

[email protected] (Kenny McCormack) Thu, 16 May 2024 14:15:59 -0000 (UTC)
Newsgroups alt.comp.lang.awk,comp.lang.awk
Organization The official candy of the new Millennium
Message-ID <[email protected]>
In article <[email protected]>,
Janis Papanagnou  <[email protected]> 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.