Case and Arguments

1 / 11

Two things that belong together: case, the shell's way of branching on a value, and the positional parameters — how a script gets hold of what it was called with. Put them side by side and you have the shape of nearly every command-line tool ever written in shell.

Finish →