PLEASE NOTE: the upgrades to this server,, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49


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 564 articles.
Currently 3 other people reading this forum.

 UWA week 15 (1st semester, week 7) ↓
SVG not supported

Login to reply

11:54am Sat 16th Apr, Michael W.

Hi, Just something you may find useful. When you are testing your program, you can sometimes get lost in all the stuff that the program is printing out. Debugging echo statements are definitely useful (and recommended), but you can end up drowning as the messages flood past when you run the code. To help you tame the flow, run the command, script, before you run the program. Script captures everything you type, and everything that the program/system prints in response. In other words, it's a key-logger. You then type <CTRL> d to exit the recording. You'll then find a file called typescript in the directory that you can work through at your leisure. Reduces stress. ;-) Have a good weekend 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  1:17AM Sep 14 2022
Privacy policy