From: arnold@skeeve.com
To: tuhs@tuhs.org, mah@mhorton.net
Subject: [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new?
Date: Thu, 14 Sep 2023 21:48:57 -0600 [thread overview]
Message-ID: <202309150348.38F3mvxD015003@freefriends.org> (raw)
In-Reply-To: <3963d4b9-a866-2e2f-d289-c4f261e1ca7e@mhorton.net>
Hi Mary Anne.
Mary Ann Horton <mah@mhorton.net> wrote:
> Which Git repo? The CSV code is a game changer for awk, otherwise I
> need a hokey python script.
https://github.com/onetrueawk/awk. This was mentioned in the
note you quoted...
> Is it being merged into the Gnu awk ...
Also mentioned is that the code is already in gawk's master
branch and that I will make a release in the fall, I hope.
> ... that will wind up in Red Hat awk?
> Please please?
I have no control over that. Sorry. However, gawk is easy to
build and install from tarball, or if you're desperate, directly
from Git. Be in touch privately if you want more info.
Thanks,
Arnold
> Thanks,
>
> /Mary Ann Horton/ (she/her/ma'am)
> maryannhorton.com <https://maryannhorton.com>
>
> “This is a great book about an amazing journey of a woman
> who went through hell to become the person she is today.”
> * - Monica Helms, creator of the transgender flag*
>
> "Brave and Important - Don’t miss this wonderful book!"
> * - Laura L. Engel, Intl. Memoir Writers Assn.*
>
> Available on Amazon and bn.com. Audiobook on Google Play.
>
> <https://www.amazon.com/Trailblazer-Lighting-Transgender-Equality-Corporate-ebook/dp/B0B8F2BR9B>
>
>
>
> On 9/13/23 14:28, arnold@skeeve.com wrote:
> > Hello All.
> >
> > For whoever's interested, the csv code has been merged into the master
> > branch of the Git repo. Have fun!
> >
> > Arnold
> >
> >> From: arnold at skeeve.com (arnold at skeeve.com)
> >> Date: Sun, 10 Sep 2023 13:41:34 -0600
> >> Subject: [TUHS] The AWK Programming Language, 2nd Ed.: What's new?
> >>
> >> Hi.
> >>
> >> markus schnalke <meillo at marmaro.de> wrote:
> >>
> >>> Hoi,
> >>>
> >>> I just discovered that one of my favorite computer books about my
> >>> best liked programming language (besides C) releases in a second
> >>> edition. Does anyone know what the differences of 1st and 2nd
> >>> edition are?
> >>>
> >>> As the original book is almost perfect, the only rework and
> >>> extension direction I can think of is towards different
> >>> implementations like gawk, mawk, portability and such things.
> >>>
> >>> Does anyone know more about it? Maybe some inside information? ;-)
> >>>
> >>> meillo
> >> Inside information? As it happens, yes, I do have some. :-)
> >> (I was a reviewer.)
> >>
> >> [In the below, "awk" means Brian Kernighan's awk.]
> >>
> >> In the 36 (!) years since the first edition was published, awk
> >> has undergone, shall we say, a large number of small changes. These
> >> are listed in the FIXES file currently in the master branch of
> >> https://github.com/onetrueawk/awk.
> >>
> >> In addition, Brian Kernighan decided to add support for UTF-8 input,
> >> which is what awk now expects, and support for CSV input files when
> >> invoked with the --csv option. Furthermore, there is a new \u escape
> >> sequence which must be followed by 1-8 hexadecimal digits for specifying
> >> Unicode code points.
> >>
> >> The book itself has been carefully revised. The large second chapter
> >> which was a reference to the full language was moved to an appendix.
> >> Many of the example programs from the first edition were retained
> >> and updated, but there is also quite of lot of pleasing new material.
> >>
> >> There is mention of, and occasional comparison with, gawk, mawk and
> >> Ben Hoyt's GoAwk, but by and large the focus is on the authors' version.
> >>
> >> The new code is currently in the "csv" branch of the above Github
> >> repo. The maintainer is in the process of tidying up the repo (dealing
> >> with issues and pull requests) and will merge the csv branch into
> >> master sometime in the very near future.
> >>
> >> I'm told that the printed books with get to the publisher's warehouse
> >> towards the end of September. The book is available now on O'Reilly's
> >> Safari learning site (safari.oreilly.com) for anyone who has a
> >> subscription.
> >>
> >> Matching code (--csv and \u) are in gawk's master branch now. I will
> >> make a release this fall, after the new code has moved into master
> >> in BWK's awk.
> >>
> >> I heartily recommend the book; it is totally up to Brian Kernighan's
> >> usual very high standard.
> >>
> >> Enjoy,
> >>
> >> Arnold
> >>
next prev parent reply other threads:[~2023-09-15 3:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-13 21:28 arnold
2023-09-15 1:40 ` Mary Ann Horton
2023-09-15 3:48 ` arnold [this message]
2023-09-16 17:52 ` Mary Ann Horton
2023-09-15 3:49 ` Ajay Shah
2023-09-15 3:54 ` arnold
2023-09-15 9:09 ` KenUnix
2023-09-15 11:24 ` Dan Cross
2023-09-15 20:04 ` Dave Horsfall
2023-09-15 20:09 ` John Cowan
2023-09-15 20:17 ` Warren Toomey via TUHS
2023-09-16 17:32 ` Mary Ann Horton
2023-09-15 21:08 ` Warner Losh
-- strict thread matches above, loose matches on Subject: below --
2023-09-16 1:20 Norman Wilson
2023-09-09 19:51 [TUHS] " markus schnalke
2023-09-09 20:13 ` [TUHS] " christopher fujino
2023-09-10 19:41 ` arnold
2023-09-10 19:59 ` Norman Wilson
2023-09-11 5:59 ` markus schnalke
2023-09-11 13:52 ` Stuff Received
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202309150348.38F3mvxD015003@freefriends.org \
--to=arnold@skeeve.com \
--cc=mah@mhorton.net \
--cc=tuhs@tuhs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).