Most likely from UNIX: A History and a Memoir by Kernighan and some
speculation (which includes EOF handling) on what was written/intended.
One reviewer of the book commented "There were some technical surprises. We
always thought AWK was influenced by Snobol, but according to the book, it
borrowed from RPG. We don’t see it, but who are we to argue with the K in

On Mon, Jan 13, 2020 at 8:31 PM Patrik Schindler <poc@xxxxxxxxxx> wrote:

Hello Kevin,

Am 13.01.2020 um 22:55 schrieb Kevin Bucknum <Kevin@xxxxxxxxxxxxxxxxxxx>:

Yes. But he wants to take a portion of the line he is reading, get a
record from that file based on the portion of the line, and use a value in
that file for his replacement value. It's not a replace xx with yy

Sorry, then I misunderstood your comment. What you write sounds like a
scenario for awk but I'm not fluent with it.

Funny fact: Awk has been compared to ancient RPG versions, because of the
implicit cycle logic. Awk also reads until EOF and does stuff with the
data. :-) I can't recall where I read that, though.

:wq! PoC

PGP-Key: DDD3 4ABF 6413 38DE -

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives

Please contact support@xxxxxxxxxxxx for any subscription related

Help support by shopping at with our affiliate

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.