![]() |
.. (לתיקייה המכילה) | |
What is the current folder in shell, while running the scripts? | |
Run the scripts when your inside MTMEscapy folder. |
What can we assume about VISITORS_AMOUNT parameter, in last_visitors script? | |
This field is an optional argument If it is specified in the script execution, you can assume it is a positive integer. |
While running the scripts with a given name of an escape room as a parameter, | |
Yes. |
In last_visitors script, according to its description - if the amount of visits in visitors.txt is less than VISITORS_AMOUND we need to print all of the names of visitors. | |
Visits of different people. Such that in case that VISITORS_AMOUNT is greater than the list of different names we can print, we print the whole list of names as an output. (Because we technically have no more names to print in order to achieve the limit of VISITORS_AMOUNT) |
In the scripts, handling names of visitors should be case-sensitive? | |
Yes. don't ignore from upper/lower case differences. For example, Ben and ben are two different names. |
Can we assume that all challenge files are named as [Integer].chg ? (1.chg, 2.chg and so on) | |
No, you cannot assume that. |
Sort in bash doesn't match to ascii order, what should I do? | |
Enter the following commands in your shell: export LC_ALL=C export LANG=C You can assume that in our testing, we use these commands before running your scripts. |
In lexicographic sorting, does CAPITAL LETTERS come before small letters? (For example, "Ben" before "ben"?) | |
Yes. If the default sorting doesn't match ASCII order, please check out the previous question and answer. |