4 ms·
It's unfortunately not rare to find programs that write diagnostics to standard output instead of standard error.
by kps 3y ago
It's unfortunately not rare to find programs that write diagnostics to standard output instead of standard error.
- deredede 3y agoThat's fair, but the solution to that problem is to print warning messages on standard error, not to make them fatal errors.
- ynik 3y agoIt's also not rare to find wrapper scripts that check "was there any output to stderr?", and if so, consider the program to have failed. Warnings are not errors, but also not output, so there isn't a good way to report them in the stdout/stderr model (but stderr is still better than stdout).