3 ms·
But sometime it is obvious. For example, when binary output is being spewed to stdout.
by yuhong 13y ago
But sometime it is obvious. For example, when binary output is being spewed to stdout.
- DSpinellis 13y agoThere is nothing wrong with sending binary (non-textual) output to stdout. Many programs, like the netpbm utilities, work like this.
- codeflo 13y agoThat's what yuhong meant, I think. If your stdout output is binary, it's clear that all user-readable messages should go to stderr.
- bjourne 13y agoYeah, but that breaks the rule that standard error is for error messages. You're then repurposing stdout and stderr to "standard binary output" and "standard various text messages output".