10.1. Compatibility
Prev
Chapter 10. Coding Style
Next
10.1. Compatibility
Don't use syntax or semantics that are unique to the Bash shell. For example, the use of array constructs.
Only use the POSIX subset - for example, use $(foo) over `foo`.
You can check your scripts with 'sh -n' and 'checkbashisms'