It's UWAweek 17 (1st semester, week 8)

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 159 articles.
Currently 1 other person reading this forum.


 UWA week 14 (1st semester, non-teaching week) ↓
SVG not supported

Login to reply

👍?
helpful
4:12pm Wed 3rd Apr, Michael W.

ANONYMOUS wrote:
> Also one more question in the below sample .sh for file has not been included, is it necessary to remove it because, when I am running on my system I need to add .sh or else I have error. > Kindly clear my this doubt > > % tobacco_nation WHO_tobacco_control_tonly.csv 2030 Female > The global maximum percentage of Female tobacco users in 2030 is predicted to be in Andorra (AND) at 42.3
Hi, If you are running the standard Ubuntu/Bash/Gnu-Shell-Tools set up, having the .sh on the end of file name should not matter. Instead you need the #!/usr/bin/env bash as the first line. (To my taste, having .sh at the end of Shell script is misleading unless you intend to use sh (ie the original Shell, of which Bash is a derivative.). 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