News for hackers. Stuff that matters.
Re:DahliaOS operating system, combining the best of GNU/Linu... by DannyB2 on Tuesday November 03, 2020 @02:25PM (#24983008)
What if unix style pipes included a MIME type. Thus you might have some type safety, or ability to understand multiple types of input.

Example: if one tool outputs JSON, another tool, like grep, would recognize that is a subtype TEXT, and be able to process it.

Example: a more sophisticated hypothetical grep tool, would recognize that it might grep JSON differently than it greps TEXT.

Example: Tool 1 exporting JPEG might be incompatible with Tool 2 that only accepts JSON. A nice shell error message could result.

Re:DahliaOS operating system, combining the best of GNU/Linu... by franga2000 on Tuesday November 03, 2020 @04:15PM (#24984068)
[Nushell](https://www.nushell.sh/) is doing something along those lines. They have plenty of work to go before it's perfect, but it's already surprisingly good.