News for hackers. Stuff that matters.
Re:Show HN: UXY – adding structure to Unix tools by dima55 on Sunday May 19, 2019 @10:12PM (#19957013)
Re:Show HN: UXY – adding structure to Unix tools by vthriller on Monday May 20, 2019 @03:55AM (#19958308)
I'd argue this is more about quacking like a PowerShell than manipulating xSV/JSON in the pipeline. So here's my quick bunch of links that show the demand for that.

Here people emulate formatted and filtered ps(1) using GVariants and a bunch of CLI tools:

https://blogs.gnome.org/alexl/2012/08/10/rethinking-the-shel...

Here people use SQL to query and format data right from the shell:

https://github.com/jhspetersson/fselect

https://github.com/facebook/osquery

Also, libxo is a library that allows tools like ls(1) in FreeBSD to generate data in various formats (e.g. JSON):

https://wiki.freebsd.org/LibXo

(edit: formatting)

Re:Show HN: UXY – adding structure to Unix tools by majkinetor on Monday May 20, 2019 @09:13AM (#19959963)
There actually far more more tools created so far, for example

- https://github.com/adamwiggins/rush

- https://github.com/xonsh/xonsh

Its amazing that people still try this nowdays that pwsh solved it for all.

Re:Show HN: UXY – adding structure to Unix tools by nailer on Monday May 20, 2019 @07:00AM (#19959126)
> This is becoming a really crowded space.

Those who fail to understand powershell are condemned to recreate it poorly.

It'd be great for GNU to create a standard for native structured output (as well as a converter tool like the one in this post), then have other tools be able to do it.

But realistically, pwsh is Open Source, runs just fine on Unix boxes and does this now.

Re:Show HN: UXY – adding structure to Unix tools by majkinetor on Monday May 20, 2019 @09:11AM (#19959948)
Amen to that
Re:Show HN: UXY – adding structure to Unix tools by jasonpeacock on Sunday May 19, 2019 @11:42PM (#19957372)