t***@engmail.uwaterloo.ca
2004-06-26 20:44:13 UTC
For u5p5:
It uses the phrase "the argument file", as if assuming that we have been given
one argument. May we assume this, or must we check it? If the latter, then
must we check that there is exactly one argument, or just that there is at
least one argument?
When it says "the home directory", does it mean the current user's home
directory, or "/home"? Or is it referring to something else entirely?
When it says that "the filename provided as argument must exist in the current
directory", may we assume that this will be true, or must we check it? If the
latter, then must we reject arguments that are correct paths to files in other
directories?
If checks are required, what should the error message(s) be upon invalid usage?
Should the output of the script be in a particular format?
----------------------------------------
This mail sent through www.mywaterloo.ca
It uses the phrase "the argument file", as if assuming that we have been given
one argument. May we assume this, or must we check it? If the latter, then
must we check that there is exactly one argument, or just that there is at
least one argument?
When it says "the home directory", does it mean the current user's home
directory, or "/home"? Or is it referring to something else entirely?
When it says that "the filename provided as argument must exist in the current
directory", may we assume that this will be true, or must we check it? If the
latter, then must we reject arguments that are correct paths to files in other
directories?
If checks are required, what should the error message(s) be upon invalid usage?
Should the output of the script be in a particular format?
----------------------------------------
This mail sent through www.mywaterloo.ca