News: 1661246829

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Universal Unix tool AWK gets Unicode support

(2022/08/23)


In Unix terms, this news is almost akin to Moses appearing and announcing an amendment to the 10 commandments.

AWK, a programming language for analyzing text files, is a core part of the Unix operating system, including Linux, all the BSDs and others. For an OS to be considered POSIX compliant, it must [1]include AWK. AWK first appeared in 1977 and was included in Version 7 UNIX in 1979 – the last version of UNIX from Bell Labs, before AT&T turned it into a commercial product.

What is notable about the tool gaining Unicode support is not so much the feature itself, but who wrote it: Canadian computer scientist [2]Brian Kernighan .

[3]

AWK's name is an acronym for its three original developers: [4]Turing Award winner Alfred A ho , Peter W einberger and Brian K ernighan. Professor Kernighan is also the "K" in "K&R C", as in the original, classic, 1978 book The C Programming Language , written by Professor Kernighan and [5]the late, great Dennis Ritchie .

[6]

[7]

Indeed the book dictated and specified not only a version of the C language, now known as C78, but even an indentation style. Such is its influence that in old Unix hacker circles, the book is sometimes [8]called "the old testament" and the [9]indentation "the one true brace style".

There are of course other versions of AWK, but this is the original one, known as the [10]One True AWK . The code change is [11]described on Github under the modest description "Add BWK's email." The Professor modestly notes:

Once I figure out how (and do some more checking, I will try to submit a pull request. I wish I understood git better, but in spite of your help, I still don't have a proper understanding, so this may take a while.

He has The Reg FOSS desk's sympathies. This vulture is a stripling of 54 and remains unable to wrap his head around the aptly named Git, whereas Prof Kernighan is 80.

Kernighan also came up with the name "UNIX" and the invented the "Hello, world" programming language demonstration, which was for the B programming language, a forerunner of C, although of that language, he [12]maintains :

I had no part in the birth of C, period. It's entirely Dennis Ritchie's work. I wrote a tutorial on how to use C for people at Bell Labs, and I twisted Dennis's arm into writing a book with me.

[13]That emoji may not mean what you think it means

[14]Logitech Pop: Stylish, portable, but far from the best typing experience

[15]We tested all the Ubuntu remixes for resource usage so you don't have to

[16]Be careful where you install software, and who installs it

Prof Kernighan has written a number of other notable books, including in recent years The Go Programming Language [17](2015) , Understanding the Digital World (2017), and Unix: A History and a Memoir [18](2019) .

It's important to remember that software such as Unix are not holy writ, handed down inviolable from historical times. Most of the people that designed, implemented and shaped them are still with us. In this case, the code change was actually a few months ago, but was only noticed by the wider world thanks to a new interview with Prof Kernighan that was just released. ®

[19]

[20]Youtube Video

Get our [21]Tech Resources



[1] https://pubs.opengroup.org/onlinepubs/009695399/utilities/awk.html

[2] https://www.cs.princeton.edu/~bwk/

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2YwSlOud0nRpOJYWTVgQJlQAAAEk&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[4] https://www.theregister.com/2021/04/01/turing_award/

[5] https://www.theregister.com/2011/10/13/dennis_ritchie_obituary/

[6] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YwSlOud0nRpOJYWTVgQJlQAAAEk&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[7] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33YwSlOud0nRpOJYWTVgQJlQAAAEk&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[8] http://www.catb.org/jargon/html/K/K-ampersand-R.html

[9] http://www.catb.org/jargon/html/I/indent-style.html

[10] https://github.com/onetrueawk/awk

[11] https://github.com/onetrueawk/awk/commit/9ebe940cf3c652b0e373634d2aa4a00b8395b636

[12] https://www.linuxjournal.com/article/7035

[13] https://www.theregister.com/2022/07/14/emoji_survey/

[14] https://www.theregister.com/2022/05/19/logitech_pop/

[15] https://www.theregister.com/2022/08/18/ubuntu_remixes/

[16] https://www.theregister.com/2022/08/05/on_call/

[17] https://www.gopl.io/

[18] https://www.cs.princeton.edu/~bwk/memoir.html

[19] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/applications&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44YwSlOud0nRpOJYWTVgQJlQAAAEk&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[20] https://www.youtube.com/embed/GNyQxXw_oMQ

[21] https://whitepapers.theregister.com/



Two men

Pascal Monett

Two individuals. That's all it took to define an entire industry that still lives under their shadow.

Salute to the masters.

GIT- Aptly named

I Am Spartacus

I'm so glad that I am not the only one who struggles with the complexities of GIT

le0: no carrier: transceiver cable problem?