I tried answering and modifying the script and also check the hint answer at the path but doesn’t work and the hint answer location file also doesn’t give any hint as the file is same.
Update the script to use 2 command line variables $1 and $2 for country and capital respectively. When the script is executed it should now print the country and its capital using the values passed in as command line arguments.
eg: ./print-capital.sh Nigeria Abuja should print Capital city of Nigeria is Abuja
Check the answer file at /tmp/assets/print-capital-answer.sh
Lab is super easy so far but this question is extremely confusing and making me beat my head to the wall… I tried almost all methods but don’t know what you are trying to ask me to do here… Can you please elaborate… And it gets more confusing when i check the hint answer where the file is same with no changes in the hint answer… then what is reason for having the answer when there is no answer but the same file… appreciate your quick response as I’m learning on a daily basis and don’t want to give a gap between learning…