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