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.
779 B
779 B
cl-camp4
Instructions
"someone familiar"
Create a file myfamily.sh
, which will show a subject's family (key: relatives).
-
The quotes have to be removed.
-
The subject will be decided depending on his ID which will be contained in the environment variable HERO_ID.
-
Where to look : https://01.alem.school/assets/superhero/all.json
-
What to use : curl, jq and others...
Usage
student@ubuntu:~/piscine-go/test$ export HERO_ID=1
student@ubuntu:~/piscine-go/test$ ./myfamily.sh
Marlo Chandler-Jones (wife); Polly (aunt); Mrs. Chandler (mother-in-law); Keith Chandler, Ray Chandler, three unidentified others (brothers-in-law); unidentified father (deceased); Jackie Shorr (alleged mother; unconfirmed)
student@ubuntu:~/piscine-go/test$