PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, 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

help2003/help4407

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


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

Login to reply

👍?
helpful
7:02pm Tue 5th Apr, Michael W.

Hi Ashley, Ryan is, of course, absolutely right; they do identical things and it's a matter of style. Here is why I make the choices I do: *) I prefer #!/usr/bin/env bash (in this case, python, whatever) because it relies on exactly one program being we were expect to it to be: env. From then on, all the other interpreters, etc, can move. *) I prefer > /dev/stderr as the way to direct a print statement (say) because it;s more obvious to the reader that 1>&2 (dup file descriptor 1 to file descriptor 2).

As they say, you pays your money, you makes your choice (just be consistent).

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