3 ms·
Imagine if we could just have this automatically for every program that generated text output. It doesn't seem beyond the realms of possibility that every tool
by oneeyedpigeon 10y ago
Imagine if we could just have this automatically for every program that generated text output. It doesn't seem beyond the realms of possibility that every tool could either a) structure its text output in a way that can guarantee simple command-piping to a general purpose query-language processing tool or b) in the presence of a "--output-json" flag, produce json which can then easily be queried.
- shakna 10y agoSounds like you'd like the object-based Powershell.
- junke 10y agoOr you could have a single address space (https://en.wikipedia.org/wiki/Single_address_space_operating_system https://en.wikipedia.org/wiki/Single_address_space_operating...), and share objects directly.
- donut 10y agoIt's the UNIX principle/tradition that line oriented text is the universal format. It's quite flexible. But I share your feeling, and I keep hearing nice things about powershell. Also, if you work with CSV files, look at textql.