Jump to content

Unix Shell pipelines that use structured data like CSV, JSON, etc


Recommended Posts

We know that you can have a REPL that has a full on type system (Powershell) but what about enhancing Unix shells by outputting stoud into a structured format, so that at least you have value pairs instead of scraping giant strings.

The example that got me thinking was when someone used a CSV output of a command, just to import it and use one field.

I’m not PL theorist, so I don’t know if it’s feasible, but basically this would entail every CLI program having one format as a common denominator.

Link to post
Share on other sites
On 9/11/2021 at 11:22 AM, lucasPeni said:

We know that you can have a REPL that has a full on type system (Powershell) but what about enhancing Unix shells by outputting stoud into a structured format, so that at least you have value pairs instead of scraping giant strings.  showbox

 The example that got me thinking was when someone used a CSV output of a command, just to import it and use one field.  speed test

I’m not PL theorist, so I don’t know if it’s feasible, but basically this would entail every CLI program having one format as a common denominator.

issue got solved

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.