It's UWAweek 25 (mid-year break)

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 the 2 articles in this topic
Showing 2 of 439 articles.
Currently 2 other people reading this forum.


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍?
helpful
4:12pm Sun 12th May, Md C.

The requirements specify that:

"Also, based on the header line, report any lines that do not have the same number of cells. (Cells are allowed to be empty.)"

The script is supposed to output the cleaned data to STDOUT. My question is, how do I report lines for a given file?

  • Should I write to a separate report file for each type if there are any?
  • Or should I write to STDERR?"


 UWA week 20 (1st semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful
2:44pm Mon 13th May, Michael W.

"Md Chowdhury" [email protected] wrote:

The requirements specify that:

"Also, based on the header line, report any lines that do not have the same number of cells. (Cells are allowed to be empty.)"

The script is supposed to output the cleaned data to STDOUT. My question is, how do I report lines for a given file?

  • Should I write to a separate report file for each type if there are any?
  • Or should I write to STDERR?"

Hi Rayhan, For either program, but particularly the data-cleaning program, error messages should be printed on stderr, with all the real data going to stdout.

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  5:07AM Sep 06 2023
Privacy policy