-
In a
case
statement, what determines which block of code is executed?
the value of the variable between case
and in
-
How do you mark the end of a code block in a
case
statement?
;;
-
What signals the end of a pattern in a
case
statement?
)
-
What meta-characters can you use in a
case
statement pattern?
all of them: ?, * and [ ]
-
What pattern would you use in a
case
statement if you wanted to match 11, 12 or 13?
11|12|13
-
What will you see on the screen if you ran a script that uses the
select
statement?
a menu of numbers followed by values
-
What happens to the value chosen by the user when responding to a
select
statement?
the value is assigned to the select variable
-
What function does the PS3 keyword shell variable serve in a
select
statement?
it contains the text used in the menu prompt
-
How do you mark the beginning of a here document in a shell script?
<< followed immediately by a string with no spaces between them
-
How do you mark the end of a here document?
with the same string that starts the here document on a line by itself