Get flash to fully experience Pearltrees
Last revision August 6, 2004 Expressions can be used in assigning values to new variables; as substitutions in command lines in the script; and in flow-of-control statements : if , foreach , while , and switch .
8.4.3. Predefined Shell Variables
Processing command line arguments is a pain in any language. If done manually, parsing even a few options and option value pairs in BASH is a huge pain. As such and given the nature of shell scripts, they usually have exceedingly poor options processing.
Linux gurus don’t use cut , awk , and sed when they want to replace or strip out a portion if a variable. They use parameter substitution.
Bash Programming Cheat Sheet