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.
|
|
|
## 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 suspects
|
|
|
|
- displays the names of the 3 other main suspects that were not arrested (in the order that they should have appeared during the investigation)
|
|
|
|
|
|
|
|
### Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
student@ubuntu:~/piscine-go/test$ ./explain.sh | cat -e
|
|
|
|
FirstNameOfWitness LastNameOfWitness$
|
|
|
|
123456$
|
|
|
|
Red Ferrari$
|
|
|
|
FirstNameOfSuspect1 LastNameOfSuspect1$
|
|
|
|
FirstNameOfSuspect2 LastNameOfSuspect2$
|
|
|
|
FirstNameOfSuspect3 LastNameOfSuspect3$
|
|
|
|
student@ubuntu:~/piscine-go/test$
|
|
|
|
```
|
|
|
|
|
|
|
|
### Hint
|
|
|
|
|
|
|
|
"The answers in the usage are obviously there for formatting only, but you obviously knew that already... or did you? :) "
|