oilshell / oil

Oils is our upgrade path from bash to a better language and runtime. It's also for Python and JavaScript users who avoid shell!
http://www.oilshell.org/
Other
2.79k stars 151 forks source link

TSV8 pager #856

Open andychu opened 3 years ago

andychu commented 3 years ago

Sort of like git diff and git log, we should have it for pp proc, etc.

https://lobste.rs/s/zvallq/pretty_csv_viewing_on_command_line

bar-g commented 4 months ago

Glad to find this by looking for pretty printing of CSV / TSV / TSV8, looking forward to the new pp features.

andychu commented 4 months ago

Right now we don't have enough people to do this, but I'd still like to

QTT is now "TSV8", but it's not implemented yet - https://www.oilshell.org/release/0.20.0/doc/j8-notation.html

However we did implement the string notation, so that's some progress


This is not on the table for

So it will almost certainly not happen this year, unless someone wants to work on it

It could also be "punted" outside the project like the shell GUI via the FANOS protocol

https://www.oilshell.org/release/0.20.0/doc/headless.html

If we define a protocol, and a minimal demo to consume it, then we don't have to write it ourselves

So it could be something like $TSV8_PAGER or $PAGER8