Re:Two simple tricks for better shell script error handling
by imurray on Monday April 05, 2010 @10:04AM
(#1241922)
I agree with using /bin/bash if that's what you're actually using and aren't sure the script will work more generally.
Something that can help pin down usage of bash extensions is checkbashisms (in the devscripts package on Debian systems). Also running the script through a shell that claims POSIX compliance like /bin/dash.
Something that can help pin down usage of bash extensions is checkbashisms (in the devscripts package on Debian systems). Also running the script through a shell that claims POSIX compliance like /bin/dash.