Variable Mangling in Bash with String Operators

(via www.linuxjournal.com)

Have you ever wanted to change the names of many files at once? Or, have you ever needed to use a default value for a variable that has no value? These and many other options are available to you when you use string operators in bash and other Bourne-derived shells...

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Bash Parameter Substitution

Variable Mangling in Bash with String Operators

Comment