„teil24/familyif.sh“ hinzufügen
Version mit if
This commit is contained in:
9
teil24/familyif.sh
Normal file
9
teil24/familyif.sh
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
if [[ "$1" == "Homer" || "$1" == "Marge" || "$1" == "Bart" || "$1" == "Lisa" ]]; then
|
||||||
|
echo "Familie Simpson"
|
||||||
|
elif [[ "$1" == "Ned" || "$1" == "Maude" || "$1" == "Todd" || "$1" == "Rod" ]]; then
|
||||||
|
echo "Familie Flanders"
|
||||||
|
elif [[ "$1" == "Clancy" || "$1" == "Sarah" || "$1" == "Ralph" ]]; then
|
||||||
|
echo "Familie Wiggum"
|
||||||
|
fi
|
Reference in New Issue
Block a user