4 ms·
Yes. But that would break all existing tools wrapping around apt-key. That's the downside of everything-is-just-strings in Unix
by pilif 9y ago
Yes. But that would break all existing tools wrapping around apt-key.
That's the downside of everything-is-just-strings in Unix
- vbezhenar 9y agoapt-key could detect terminal output and modify its output.
- icebraining 9y agoOr just an extra flag like --list-after-import.
- rlpb 9y agoWriting any script would be hell if the commands you call suddenly start modifying their behaviour. This is bad practice, and the GNU coding standards (for example) agree: https://www.gnu.org/prep/standards/standards.html#User-Interfaces https://www.gnu.org/prep/standards/standards.html#User-Inter... "Likewise, please don’t make the behavior of a command-line program depend on the type of output device it gets as standard output or standard input."