3 ms·
It's not simple, but it's not hard to imagine. Some of these things exist already: * Image support (I can't remember where I saw this but it exists) * Structu
by IshKebab 11y ago
It's not simple, but it's not hard to imagine. Some of these things exist already:
* Image support (I can't remember where I saw this but it exists)
* Structured data piping (in Powershell)
* Machine-readable command-line arguments, which would enable...
* ...Proper autocomplete (like in IDEs)
* Real types (Bash is 'stringly typed')
* Sanity (e.g. look at how `[` is implemented in Bash; none of that)
* A better way to integrate with programs than running them on the command line (e.g. shell bindings).
That last one would be tricky and really requires moving away from the C ABI as the Lingua Franca of libraries. That is probably quite far away in the future unfortunately.
- icebraining 11y agoRegarding (1), a proposal that had some impact was TermKit[1], which was supposed to auto-detect the type of data coming from stdout and display it intelligently. It died on the vine, though[2]. [1] http://acko.net/blog/on-termkit/ http://acko.net/blog/on-termkit/ [2] https://www.reddit.com/r/programming/comments/137kd9/18_months_ago_termkit_a_nextgeneration_terminal/ https://www.reddit.com/r/programming/comments/137kd9/18_mont...