Positional Parameters (UNIX)

Pages 2 (502 words)
Download 0


The first exercise involved interaction with the user in the form of giving the user instructions to enter five parameters, the positional parameters are used here and the user is prompted to enter the correct number of arguments.
This assignment illustrated the proper use of the "case" statement. The "case" statement allows a conditional expression to be evaluated based on pattern-matching. "Case" is similar to an if-then-else clause, except that a "case" statement uses fewer lines of code.
Download paper
Not exactly what you need?