It's UWAweek 48


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 919 articles.
Currently 2 other people reading this forum.

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

Login to reply

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

> 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