From c3f974033263bc9b3bc699d2398ff0803ba2b2fc Mon Sep 17 00:00:00 2001 From: raspithek Date: Tue, 17 Jun 2025 05:16:31 +0000 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eteil24/familyif.sh=E2=80=9C=20hinzuf?= =?UTF-8?q?=C3=BCgen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version mit if --- teil24/familyif.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 teil24/familyif.sh diff --git a/teil24/familyif.sh b/teil24/familyif.sh new file mode 100644 index 0000000..c1571e1 --- /dev/null +++ b/teil24/familyif.sh @@ -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 \ No newline at end of file