Menu

#824 Errors sent to stderr instead of stdout ==> data loss

open
nobody
None
5
2012-12-07
2008-04-22
Tesf
No

APOLOGIES
I've searched for this issue in the forums and found it, but I didn't find it in the bug database, so I'm sorry if there is an existing bug that I'm duplicating.

A CASE
I found a 7zip file that was broken. But I didn't know before... because to test all the files it was used "> /dev/null" (because the output is very verbose) and 7zip 4.57 sends errors to... stdout .

SHORT SUMMARY
Errors should be sent to stderr instead of stdout. Later users can mix both outputs into one with the shell if they want.

COMPLYING WITH STANDARDS
In the past I was a teacher and I have taught people the difference between stdout and stderr, I hope they don't tell me about 7zip not following what it was said :-)

LAST BUT NOT LEAST
I want to thank Igor and all the people that made 7zip possible, I use it, recommend it, and it is a very good program and I put it as an example of the free/libre software quality.

Discussion


Log in to post a comment.