linux-logo11

Calling functions with pattern matching in bash

This script is pretty simple in its functionality, however it shows how you can utilize passing bash arguments to get different results, or to call different functions within the script. In this example we are just echoing out the argument that is being passed, but only if it matches what the script is looking for. [...]