It's UWAweek 9 (1st semester, week 1)


This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
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.
Displaying selected article
Showing 1 of 1168 articles.
Currently 1 other person reading this forum.

 UWA week 40 (2nd semester, week 10) ↓
SVG not supported

Login to reply

5:32pm Thu 5th Oct, Christopher M.

> Q1 - when using -r in combination with -i or -o, are their patterns applied to the name of the sub directory, or is it skipped and the pattern applied only its contents?
As the project description states, we are matching *filenames* not *pathnames*.
> Q2 - due to the sensitivity of the pattern string "you'll need to enclose your file patterns within single-quotation characters", after testing I believe it also works with double quotes. So, when validating pattern strings is it alright to accept them if they start and end with " as well as with '?
Your program will not receive the single, or double, quotation characters. Also see the difference between these two commands:
echo '$HOME'

echo "$HOME"

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