3 ms·
But then it's not portable across distros and to BSD's. On FreeBSD, bash is in /usr/local/bin/bash (if it is installed) Do you also write "if /usr/bin/[ $? !=
by iso-8859-1 9y ago
But then it's not portable across distros and to BSD's. On FreeBSD, bash is in /usr/local/bin/bash (if it is installed)
Do you also write "if /usr/bin/[ $? != 0 ]; then ..." ?