It's UWAweek 26 (mid-year break)


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

 UWA week 13 (1st semester, week 5) ↓
SVG not supported

Login to reply

11:32pm Fri 29th Mar, Baoyue Z.

My system is macOS I try to run the count_occurrences script directly from the current directory count_occurrences Alice_in_Wonderland.txt, but the shell (zsh in my case) can't find it, it hints zsh: command not found: count_occurrences, only if i can run with ./count_occurrences Alice_in_Wonderland.txt

but in the lectures, i noticed that lecturer run with count_occurrences Alice_in_Wonderland.txt

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

Login to reply

12:21pm Tue 2nd Apr, Michael W.

Hi Baoyue, Please go back over Lecture 5 Variables, particularly the material on the PATH variable. You will notice I have put '.' in my PATH, so did not have to explicitly use ./count_occurrences.

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