Linux tip: Bash parameters and parameter expansions

49
Do you sometimes wonder how to use parameters with your scripts, and how to pass them to internal functions or other scripts? Do you need to do simple validity tests on parameters or options, or perform simple extraction and replacement operations on the parameter strings? This tip helps you with parameter use and the various parameter expansions available in the bash shell.

Link: IBM developerWorks

Categories:

  • Software
  • Shell & CLI