diff --git a/01-read_input_copy.sh b/01-read_input_copy.sh new file mode 100644 index 00000000..a33ab85e --- /dev/null +++ b/01-read_input_copy.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo "Hello! This is Hina Luna." \ No newline at end of file diff --git a/11-song.sh b/11-song.sh index c07bb776..bd6747c0 100644 --- a/11-song.sh +++ b/11-song.sh @@ -1,40 +1,36 @@ #!/bin/sh - while [ true ]; do # you can show a prompt with the read command - read -p "Do rae mi fa so la ti do? (q to end) > " note + read -p "Red Orange Yellow Green Indigo Violet? (q to end) > " color -case $note in +case $color in # each case matches a pattern - do|Do) - echo "Doe a deer a female deer" + red|Red) + echo "Life" ;; - rae|Rae) - echo "Ray a drop of golden sun" - ;; - mi|Mi) - echo "Me a name a call myself" + orange|Orange) + echo "Healing" ;; - fa|Fa) - echo "Far a long long way to run" + yellow|Yellow) + echo "Sunlight" ;; - so|So) - echo "So a note that follows fa" + green|Green) + echo "Nature" ;; - la|La) - echo "La a note that follow so" + indigo|Indigo) + echo "Serenity" ;; - ti|ta) - echo "Tea I drink with jam and bread" + violet|Violet) + echo "Spirit" ;; q) - echo "Hope you enjoyed the sound of music" + echo "Over the Rainbow~~~" exit 0 ;; *) - echo "Not a note" + echo "Not a color in the given prompt" ;; esac diff --git a/afterParallel.png b/afterParallel.png new file mode 100644 index 00000000..8bb25343 Binary files /dev/null and b/afterParallel.png differ diff --git a/parallelBranches.png b/parallelBranches.png new file mode 100644 index 00000000..e7d9ba14 Binary files /dev/null and b/parallelBranches.png differ