* [TUHS] The AWK Programming Language, 2nd Ed.: What's new? @ 2023-09-09 19:51 markus schnalke 2023-09-09 20:13 ` [TUHS] " christopher fujino 2023-09-10 19:41 ` arnold 0 siblings, 2 replies; 6+ messages in thread From: markus schnalke @ 2023-09-09 19:51 UTC (permalink / raw) To: tuhs 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new? 2023-09-09 19:51 [TUHS] The AWK Programming Language, 2nd Ed.: What's new? markus schnalke @ 2023-09-09 20:13 ` christopher fujino 2023-09-10 19:41 ` arnold 1 sibling, 0 replies; 6+ messages in thread From: christopher fujino @ 2023-09-09 20:13 UTC (permalink / raw) To: markus schnalke; +Cc: tuhs [-- Attachment #1: Type: text/plain, Size: 687 bytes --] Oh wow, this is really interesting. Haven't read the original, maybe I should pick this up. On Sat, Sep 9, 2023 at 12:51 PM markus schnalke <meillo@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 > [-- Attachment #2: Type: text/html, Size: 995 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new? 2023-09-09 19:51 [TUHS] The AWK Programming Language, 2nd Ed.: What's new? 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 1 sibling, 2 replies; 6+ messages in thread From: arnold @ 2023-09-10 19:41 UTC (permalink / raw) To: tuhs, meillo Hi. markus schnalke <meillo@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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new? 2023-09-10 19:41 ` arnold @ 2023-09-10 19:59 ` Norman Wilson 2023-09-11 5:59 ` markus schnalke 1 sibling, 0 replies; 6+ messages in thread From: Norman Wilson @ 2023-09-10 19:59 UTC (permalink / raw) To: tuhs Thanks, both for this message and for all your hard work! ^ permalink raw reply [flat|nested] 6+ messages in thread
* [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new? 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 1 sibling, 1 reply; 6+ messages in thread From: markus schnalke @ 2023-09-11 5:59 UTC (permalink / raw) To: tuhs Hoi, thanks a lot for your helpful answer. This was the kind of answer I was wishing to get. It's hard to resist getting the book, after your favorable words. ;-) meillo [2023-09-10 21:41] arnold@skeeve.com > > Hi. > > markus schnalke <meillo@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 > ^ permalink raw reply [flat|nested] 6+ messages in thread
* [TUHS] Re: The AWK Programming Language, 2nd Ed.: What's new? 2023-09-11 5:59 ` markus schnalke @ 2023-09-11 13:52 ` Stuff Received 0 siblings, 0 replies; 6+ messages in thread From: Stuff Received @ 2023-09-11 13:52 UTC (permalink / raw) To: tuhs On 2023-09-11 01:59, markus schnalke wrote: > Hoi, > > thanks a lot for your helpful answer. This was the kind of answer > I was wishing to get. More tidbits here: https://www.awk.dev/ S. > It's hard to resist getting the book, after your favorable words. > ;-) > > > meillo > > > > [2023-09-10 21:41] arnold@skeeve.com >> >> Hi. >> >> markus schnalke <meillo@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 >> ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-09-11 13:53 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-09-09 19:51 [TUHS] The AWK Programming Language, 2nd Ed.: What's new? 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
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).