CSc 3320 System-Level Programming
Summer 1999
Homework #2
Due: 7 July 1999 (Wednesday)
- Chapter 6 Quiz Problems (1 through 5); Page 217 of the Glass/Ables text.
- Chapter 6 Exercises (1 through 2); Page 217 of the Glass/Ables text.
(Call these files track and myfind)
- Modify the junk utility to add the following functionality:
- Add a -c option that compresses all files in the .junk directory;
Make sure that files that are already compressed are not compressed a
second time.
- Modify the -p option to take an optional parameter n. Files
should only be purged (deleted) if they are more than n days old. If n is not
specified, it should default to 3 days.
- Call this file junk
Note: Please give as short an answer as possible for the Quiz questions.