It's UWAweek 48


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 5 other people reading this forum.

 UWA week 14 (1st semester, week 6) ↓
SVG not supported

Login to reply

10:13am Tue 5th Apr, ANONYMOUS

> > Hi, here some quick questions > > in today demo, we get debugging code like > > if [[ conditions ]] > > then echo "xxxx" > /dev/stderr > > exit 0 > > fi
I was looking at this demo again and I noticed that this conditional exits the script before actually executing anything, is this anti-bugging just used to test and then removed to actually run the script, or does it need to be modified to allow the script to run (instead of exiting with success and not actually doing anything) Thank you

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