ANONYMOUS wrote:
> Hello Professor.
> I'm a little confused about the Sample Queries in Assignment 1.
> The format of the Sample Queries given in Assignment 1 is
> tobacco_nation WHO_tobacco_control_tonly.csv JPN Male"
>
> I've now done my job, but I need to type
> tobacco_nation.sh WHO_tobacco_control_tonly.csv JPN Male
> to get the result.
>
> I'd like to ask if both "tobacco_nation" and "tobacco_nation.sh" can be scored.
> Or do I need to write another script, which modify the permissions via chmod, and then modify the PATH so that the file can be used without " .sh " suffix, is this what is included in this Assignment?
Hi,
One thing you need to learn is that if something is made explicit in a specification, typically because it needs to work with other modules then you must keep to the spec. However, just this time, I shall accept tobacco_nation or tobacco_nation.sh
Secondly, you do not need to call chmod or do anything with the PATH variable; the testing system will do it all, so that it's done in a consistent way.
Cheers
MichaelW
👨🎨