Question: iven the following patterns used by the case statement, which values of $USERINPUT are considered to be valid? ( select all that apply ) case

iven the following patterns used by the case statement, which values of $USERINPUT are considered to be valid? (select all that apply)
case "$USERINPUT" in
[[:upper:]]*) echo "Valid entry" ;;
[[:lower:]]*) echo "Invalid entry" ;;
[[:alpha:]]*) echo "Invalid entry" ;;
[[:digit:]]*) echo "Invalid entry" ;;
[[:punct:]]*) echo "Invalid entry" ;;
*) echo "Invalid entry"
exit 1
;;
esac
Group of answer choices
I'm good
asd
a
bad

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!