Tuesday, 2. October 2007, Roy Marples Ви написали:
> And here it is
- if [[ "${FORTRANC}" = "gfortran" ]]; then
+ if [ "${FORTRANC}" = "gfortran" ]; then
You know, it is funny to see these lines after all those cries about how [ is
evil and we should really never ever use it but rather always use [[ form :).
Oh, btw, does the compliant sh correctly process the most cited composition? :
[ -n $foo ] && [ -z $foo ] && echo "huh?"
(straight from devmanual, the primary reason why [ is considered bad)
George
--
[EMAIL PROTECTED] mailing list