stdin, stdout is fine for input and output. why there is specific file descriptor for stderr?.. stderr is pretty similar to stdout right?.. or is there any difference?
stdout is for results, stderr for messages. if you start
sort < infile > outfile
you only want data from infile in the outfile and not some arbitrary warning or error messages, and you want to actually see the messages
read the first three hits of
http://www.google.com/search?q=stdout+stderr
and remember using this magic answer machine next time
errors should not mix with data
stdout is for results, stderr for messages. if you start
you only want data from infile in the outfile and not some arbitrary warning or error messages, and you want to actually see the messages
read the first three hits of
http://www.google.com/search?q=stdout+stderr
and remember using this magic answer machine next time