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.
ANONYMOUS wrote
Yep
Nope - this is 60 milliseconds, which seems reasonable (it should also be pretty clear, as your code should run 'instantly' rather than being able to count to 20 before it stops...).
ANONYMOUS wrote
To answer the second question, first 2033 is quite small. For example, the Alice in Wonderland file we have been working with in the labs is almost 4000 lines, and all our scripts take very little time to complete.
What I suspect you ...
Hi Peter,
It's a good question - is "bird's" a separate word to bird, i.e. if we refer to the "bird's lunch", is this just another instance of the word 'bird' in a possessive context?
I would be treat anything ending with an "'s" as "a special case" a...
Hi Peter,
As we've discussed in the labs, there are multiple ways to 'skin the Unix cat', so it is entirely possible you have completed the assignment conditions without sed .
The reason that I advocate (in this particular instance) for the use of ...
Hi Peter,
This is good for students to know Thank you for notifying others of the situation.
As an FYI, this is not a (your) Windows issue - it will be true for any of the operating systems students will be running.
The reason is that the Gutenberg p...
10:55am Mon 18th Apr, Ryan B. Edited: shortly thereafter
Hi Peter,
This is good for students to know Thank you for notifying others of the situation.
As an FYI, this is not a (your) Windows issue - it will be true for any of the operating systems students will be running.
The reason is that the Gutenberg p...
Hey Chuanhe
As Michael has mentioned, when marking we will be eyeballing all solutions with respect to our own sample (rather than doing a automated check) - so you can have faith that in this instance, provided you get 'one' of the equal numbers, it...
ANONYMOUS wrote
Hullo,
This would probably make things easier for you (as I'm sure you've already run a simple text file and confirmed what uniq gives you for the results here). I'd encourage you to think about why one might be necessary, and the o...
Hi Justin,
Awesome question. To answer the first part of your question - yes, it is dependent on which commands that you are using; it is also dependent on what you are operating on too. (I would also add that these days we would call ed -style patt...
The main concern for case sensitivity in Q2 is that word rankings will change depending on if you are case sensitive or case insensitive (you can try this yourself and see what pops up). This is important when comparing your results to ours when we t...
ANONYMOUS wrote
Hullo,
The reference to the 'directory' on the project page is a link to sample text files accessible in the browser.
If you click on the textfiles (https teaching.csse.uwa.edu.au units CITS4407 assignments 2022 Ass1 text files ) li...
Hi Anon,
(I am waiting on a clarification from Michael, but this is my current interpretation will may help get you thinking.)
We have a number of text files in the directory, which will likely have common words between them (e.g. "and", "the", "of")....
Hi Anon )
If you right-click on the hyperlink you will see the 'Save Link As..' option (or something similar). This will prompt a save dialogue in which you can save to your local machine.
Hope this helps
Ryan (lab guy).
Hi Ashley,
I'm going to be "that teacher" and ask have you looked into what the differences are between the examples you have given (if any)?
If there are differences between the two, it may very well matter However, it may also be contextual as to ...
Hi Peter,
To look up in the man page, you can type man test in the terminal. is simply alternative syntax for test , whereas is actually reserved (new) syntax within bash (and other shells).
The following articles describe som...