![]() |
.. (לתיקייה המכילה) | |
We have troubles parsing the commuters' names as we do not know out of how many words they consist. | |
Homework was updated: you may assume commuters' names consist of exactly two words. |
In script 1, print_all_passengers, what do we do if a passenger/commuter appears in more than one station file? | |
You need to output the details of their very first ride, that is - commuter name must be unique in the output. |
May we use sort with -t flag? | |
Generally (unless explicitly stated in the specific section) you cannot use commands/flags not covered in class. Specifically the above flag is allowed. Note that you may also select specific fields using e.g. -k1,2 |
How come in test2 the station "haifa" appears even though it is not a destination of any ride? | |
The station appears because it exists in the system, with no incoming rides. |
We don't manage to handle the stations' names since we don't know the number of the words. | |
Assignment was updated (and so were the tests). You may now assume a station's name always consists of one word. |
In script 2, what is the output order for stations with equal popularity? | |
Names of stations with equal popularity should be sorted in lexicographic, increasing order |
When a script has more than one optional parameter, how do we know which one we were given? | |
Arguments are given in order. That is, if a script got 2 arguments, they are values for the 1st and 2nd parameter, if it got 3 arguments, they are value for the 1st, 2nd and 3rd parameters. |
May the data directory contain subdirectories containing additional .st files? | |
It may, but your code should ignore any subdirectories and unrelated files in the data directory, and only process the .st files that are directly in it (if there are any). |
Test 3 doesn't make sense! Why is haifa output when it had 0 incoming rides? | |
This was an error in the test. Tests have been updated. |