Question: Your script must accept - o argument for passing the name of the output directory and - t for specifying alternative index page title (
Your script must accept o argument for passing the name of the output directory and t for specifying alternative index page title instead of the default My tournament. Your tool must accept both variants of odirname and o dirname invocation for both options.
You can safely assume that team names and task names will be only valid C identifiers ie only English alphabet and numbers without any special characters You can safely assume that task names etc. will fit into the table above regarding column widths
You are expected to use temporary files to store intermediate results and you are expected to solve the task completely in shell.
You cannot use AWK, PERL, Python or any other language; using sed is allowed but probably not needed You cannot use any advanced Bash features such as associative arrays or and constructs use of $ $ and test is allowed, though In other words, we expect you will solve the implementation using constructs and programs you have seen during the labs and the task is such that you should be able to write it yourself without external help
We expect you will use external tools to drive your implementation but you must understand the whole script before submitting it and you must mark all parts that were not authored by you personally and if you are using tools such as ChatGPT, you must submit the whole log of your communication with the tool
All Shellcheck issues must be resolved for the submission to be accepted.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
