On Sat, Mar 22, 2008 at 12:56:18PM -0700, Lan Barnes wrote:

Why why WHY do programmers send informational messages to stderr? It makes
it really difficult to script calls to the program that check for errors.
What is it about the "err" in stderr that they don't understand?

When programs are used in a pipe, the expectation is that everything that
isn't the program's normal output should go to stderr.  That includes
informational messages.

The exit status should be how you determine if it worked or not.

David


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to