News for hackers. Stuff that matters.
Re:A few facts about POSIX by augustk on Tuesday April 30, 2024 @04:45AM (#40208631)
"The current POSIX standard defines source code-level compatibility for only two programming languages: The C language (C99) and the command language (shell)."

There is also a definition of AWK:

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/a...

Re:A few facts about POSIX by dspillett on Tuesday April 30, 2024 @06:24AM (#40209292)
There is an argument that Awk's language isn't the same category as it is a DSL not intended to be a general purpose language (it is turning-complete, but was not specifically designed as such), and awk itself is considered a complex tool not a language interpreter.

Though having said that, any definition that separates awk from general programming languages like that could probably apply to shell syntax too.

Re:A few facts about POSIX by anthk on Tuesday April 30, 2024 @11:08AM (#40211827)
Awk can do more than you think. Read The AWK Progamming Language.

Also:

gopher://hoi.st/1/dl and gopher://hoi.st/0/files/tgl.awk

make up a pretty complete language.

Don't think on AWK as a more powerful grep, you are missing a great mini-language.

Re:A few facts about POSIX by skissane on Tuesday April 30, 2024 @07:10AM (#40209664)
There used to be POSIX.5 which standardised Ada bindings and POSIX.9 which standardised Fortran bindings, but both were abandoned (I assume due to lack of interest)
Re:A few facts about POSIX by iaabtpbtpnn on Tuesday April 30, 2024 @12:58PM (#40213244)
Just short of good ones!
Re:A few facts about POSIX by blueflow on Tuesday April 30, 2024 @01:22PM (#40213496)
I'd always take the old POSIX stuff over whatever gets bought by IBM next year.
Re:A few facts about POSIX by smitty1e on Tuesday April 30, 2024 @10:02PM (#40218733)
Given their longevity, it seems difficult to label them "bad".
Re:A few facts about POSIX by vorakl on Tuesday April 30, 2024 @05:08PM (#40216372)
Certainly true. I just referred to this definition

"2.4 Other Language-Related Specifications

POSIX.1-2017 is currently specified in terms of the shell command language and ISO C. Bindings to other programming languages are being developed."

I've added a few words and links to other "utilities".