It's UWAweek 19

helpOSTS

This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 411 articles.
Currently 10 other people reading this forum.


SVG not supported

Login to reply

👍x1
helpful
9:24am Wed 17th May, Michael W.

"Lei Chen" <23*2*2*8@s*u*e*t*u*a*e*u*a*> wrote:
> If we want to check whether the parameter is correct, the parameter should be two. And if we put three or not put any file name in the command line. We need to return the error, I wonder in this case we should put the error to the output or to the standard error. In my view, I think we need to output it to the output for if the file name or parameter is wrong, it's useless to go on.
Hi Lei, Splitting errors to stderr, away from the good stuff, which appears on stdout, is a reasonable thing to do, but I don't care as I need combine the two in any case so you can see both on the trace that we show for marking purposes, which is why I didn't specify that. Cheers MichaelW

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy