Linux.com
Everything Linux and Open Source
Bash Parameter Expansion
October 04, 2008 (9:00:00 AM) - 1 year, 1 month ago
If you use bash you already know what Parameter Expansion is, although you may have used it without knowing its name. Anytime you use a dollar sign followed by a variable name you're doing what bash calls Parameter expansion, eg echo $a or a=$b. But parameter expansion has numerous other forms which allow you to expand a parameter and modify the value or substitute other values in the expansion process.
Read in the original layout at: http://www.linux.com/archive/articles/149596