News for hackers. Stuff that matters.
Re:Modernizing AWK, a 45-year old language, by adding CSV su... by torginus on Thursday May 12, 2022 @07:59AM (#31352704)
I can't tell whether the UNIX people have lost their way, or just the demands of modern shell scripts cannot be met by typical shell philosophy - that is, piping together the output of small, orthogonal utilities.

The emergence and constantly increasing complexity of these small, bespoke DSLs like this or jq does not inspire confidence in me.

Re:Modernizing AWK, a 45-year old language, by adding CSV su... by tonyg on Thursday May 12, 2022 @11:26AM (#31355551)
> demands of modern shell scripts cannot be met by typical shell philosophy

That. Pipes and unstructured binary data isn't compositional enough, making the divide between the kinds of things you can express in the language you use to write a stage in a pipeline and the kinds of things you can express by building a pipeline too large.

Re:Modernizing AWK, a 45-year old language, by adding CSV su... by anthk on Thursday May 12, 2022 @09:42AM (#31354029)
A single tool to parse JSON and pipe it? That's Unix too.
Re:Modernizing AWK, a 45-year old language, by adding CSV su... by jjtheblunt on Thursday May 12, 2022 @08:50AM (#31353300)
you made me think a possible corollary (?) question would be if the json people don't perfectly overlap with the unix people.