mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Clement Denis
26b3a37cc0
|
4 years ago | |
---|---|---|
.. | ||
README.md |
README.md
explain
Instructions
"So you want to play?"
"How did you do it?"
The commissioner thanks you for delivering the suspect. He now asks you how did you get onto his trail.
Write an explain.sh
file that:
- displays the first and last name of your key witness
- displays the interview number of this witness
- displays the colour and the make of the car of the main suspect
- displays the names of the 3 other main suspects that were not arrested (in alphabetical order of their last name)
Usage
student@ubuntu:~/[[ROOT]]/test$ ./explain.sh | cat -e
FirstNameOfWitness LastNameOfWitness$
123456$
Red Ferrari$
FirstNameOfSuspect1 LastNameOfSuspect1$
FirstNameOfSuspect2 LastNameOfSuspect2$
FirstNameOfSuspect3 LastNameOfSuspect3$
student@ubuntu:~/[[ROOT]]/test$
Hint
"The answers in the usage are obviously there for formatting only, but you obviously knew that already... or did you? :) "