• The Book - "The AWK Programming Language"

    From Janis Papanagnou@21:1/5 to All on Tue Aug 1 17:19:41 2023
    On 01.08.2023 06:11, Kpop 2GM wrote:
    "The Awk Book" presumably refers to the original "The AWK
    Programming Language" by Aho, Kernighan, and Weinberger, published
    in 1988.

    That said, even the original authors didn't do a particular good job
    at selling awk's real strengths.

    When I had first read about the awk command I was curiously looking
    for more detailed information than just "it's a language to process
    text patterns", so I was quite glad to find that book. It came out
    very quickly, only a year after the official release (three years
    after the stable version had been developed). The book is very well
    written and provides everything you need to understand the concepts
    of Awk which are, IMO, the "real strengths" of the Awk language. Of
    course it's not a long developed "hacker book" with tips and tricks.
    Neither does it has all that fancy stuff that we were publishing or
    discussing here in this newsgroup during the past decades. I agree
    with you, though, that there wasn't - maybe still isn't - anything
    worth on that "hacker-level". But I wouldn't blame that old book or
    their authors for this deficiency. After all folks who came up with
    advanced ideas likely read that book (and maybe other later sources)
    to develop application ideas that the original authors did not have
    in mind.

    And I also think that the more advanced methods that contribute to
    Awk's strengths further would likely have repelled possible users;
    many are cryptic and not too easy to understand for newbies. - The
    book was, IMHO, exactly what was necessary at that time! - I would
    still recommend it to Awk-beginners, even today.[*]

    If i began my awk journey with that
    book, I would've jumped ship to perl longlong ago.

    I had been starting with that book (and a brain that came for free),
    and nothing else. (And at times I'm still locking into that book to
    look up things.)

    With which sources have you "began [your] awk journey", since you
    seem to avoid Perl and enjoy Awk on an advanced level?

    Janis

    [*] With the cutback of the unpleasantly high price of the booklet.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jeorge@21:1/5 to Janis Papanagnou on Tue Aug 1 14:32:33 2023
    On 8/1/23 9:19 AM, Janis Papanagnou wrote:
    On 01.08.2023 06:11, Kpop 2GM wrote:
    "The Awk Book" presumably refers to the original "The AWK
    Programming Language" by Aho, Kernighan, and Weinberger, published
    in 1988.
    <snip>
    .. I would still recommend it to Awk-beginners, even today.[*]
    <snip>> [*] With the cutback of the unpleasantly high price of the booklet.

    Speaking of, I came across an announcement of a new edition:

    The AWK Programming Language, Second Edition
    https://awk.dev/
    "The book will be available by the end of September."

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Janis Papanagnou@21:1/5 to jeorge on Tue Aug 1 23:02:51 2023
    On 01.08.2023 22:32, jeorge wrote:
    On 8/1/23 9:19 AM, Janis Papanagnou wrote:
    On 01.08.2023 06:11, Kpop 2GM wrote:
    "The Awk Book" presumably refers to the original "The AWK
    Programming Language" by Aho, Kernighan, and Weinberger, published
    in 1988.
    <snip>
    .. I would still recommend it to Awk-beginners, even today.[*]
    <snip>> [*] With the cutback of the unpleasantly high price of the booklet.

    Speaking of, I came across an announcement of a new edition:

    The AWK Programming Language, Second Edition
    https://awk.dev/
    "The book will be available by the end of September."

    It would be interesting to know whether it's just a reprint or
    a reworked (updated/enhanced/extended) edition.

    Janis

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Keith Thompson@21:1/5 to Janis Papanagnou on Tue Aug 1 14:20:46 2023
    Janis Papanagnou <[email protected]> writes:
    On 01.08.2023 22:32, jeorge wrote:
    On 8/1/23 9:19 AM, Janis Papanagnou wrote:
    On 01.08.2023 06:11, Kpop 2GM wrote:
    "The Awk Book" presumably refers to the original "The AWK
    Programming Language" by Aho, Kernighan, and Weinberger, published
    in 1988.
    <snip>
    .. I would still recommend it to Awk-beginners, even today.[*]
    <snip>> [*] With the cutback of the unpleasantly high price of the booklet. >>
    Speaking of, I came across an announcement of a new edition:

    The AWK Programming Language, Second Edition
    https://awk.dev/
    "The book will be available by the end of September."

    It would be interesting to know whether it's just a reprint or
    a reworked (updated/enhanced/extended) edition.

    A mere reprint would not be called the "Second Edition".

    From the cited web page:

    The first edition was written by Al Aho, Brian Kernighan and Peter
    Weinberger in 1988. Awk has evolved since then, there are multiple
    implementations, and of course the computing world has changed
    enormously. The new edition of the Awk book reflects some of those
    changes.

    --
    Keith Thompson (The_Other_Keith) [email protected]
    Will write code for food.
    void Void(void) { Void(); } /* The recursive call of the void */

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Janis Papanagnou@21:1/5 to Keith Thompson on Wed Aug 2 00:33:52 2023
    On 01.08.2023 23:20, Keith Thompson wrote:
    Janis Papanagnou <[email protected]> writes:

    It would be interesting to know whether it's just a reprint or
    a reworked (updated/enhanced/extended) edition.

    A mere reprint would not be called the "Second Edition".

    Ah, okay, thanks for the hint.[*]

    I can only speak from publishers hereabouts; "zweite Auflage" (en.
    "second edition") just means a new edition after the first one, and
    if there isn't anything mentioned like "�berarbeitete" (en. revised), "verbesserte" (en. improved), "durchgesehene" (en. revised version), "korrigierte" (en. corrected), "erweiterte" (en. extended), or many
    other possible adjectives declaring the type of the edition, then
    it's usually (or even generally?) just a reprint because of new or
    significant more customer demands than originally expected.

    From the cited web page:
    [...]

    And thanks for the quote. (I could have looked it up myself but was
    too lazy.)

    Janis

    [*] Though I have also seen in the English domain books that have a
    note "rev. ed." adjective (e.g. Bolsky, Korn), so I guess it varies?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)