It's UWAweek 48

help2002

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 the 4 articles in this topic
Showing 4 of 919 articles.
Currently 2 other people reading this forum.


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

Login to reply

👍?
helpful
6:50pm Wed 5th Oct, ANONYMOUS

Hi, I am a bit confused about why the /tmp/trove was removed right after the compiling step before any invocations of the prompts occured?


SVG not supported

Login to reply

👍?
helpful
6:53pm Wed 5th Oct, Christopher M.

ANONYMOUS wrote:
> Hi, I am a bit confused about why the /tmp/trove was removed right after the compiling step before any invocations of the prompts occured?
Just to 'clean up' from any previous commands, and to show that ./trove -b ... creates a new trove-file.


SVG not supported

Login to reply

👍?
helpful
8:57pm Wed 5th Oct, ANONYMOUS

hello, can I ask what does the * mean in the video when you did ./trove -b *? does it mean select all contents from the file list? sorry if I misunderstood but I don't think the file list was mentioned in the video though? thanks in advance!


SVG not supported

Login to reply

👍?
helpful
3:20am Thu 6th Oct, Christopher M.

ANONYMOUS wrote:
> hello, can I ask what does the * mean in the video when you did ./trove -b *?
The '*' is a shell-wildcard. Before invoking the trove program, the shell expands the '*' to all files and directory names in the current directory, and then passes them to the trove program as command-line arguments. Thus, the filelist. You must have seen it before:
prompt> echo *
Makefile build.c compression.c filenames.c findfiles.c findwords.c globals.c remove.c trove.c trove.h trovefile.c update.c words.c

prompt>  ls -l f*.c
-rw-*-*-*[email protected] 1 chris  staff   828 Oct  5 19:04 filenames.c
-rw-*-*-*[email protected] 1 chris  staff  1652 Oct  5 09:16 findfiles.c
-rw-*-*-*[email protected] 1 chris  staff  1522 Oct  5 09:23 findwords.c

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