This commit is contained in:
Adolfo Delorenzo 2023-12-20 11:11:49 -06:00
parent 345d8c8b25
commit fc72321f62

View File

@ -6,6 +6,8 @@ foo3() { echo 'hello from foo3!'; }
# read -p "Enter a Number (1,2, or 3): " num # read -p "Enter a Number (1,2, or 3): " num
if [[ $1 = [123] ]]; then # validate input #if [[ $1 = [123] ]]; then # validate input
foo"$1" # foo"$1"
fi #fi
$1