1 |
On Tue, 2006-05-30 at 06:26 +0200, Bo Ørsted Andresen wrote: |
2 |
|
3 |
> Also shouldn't: |
4 |
> |
5 |
> if [ "x" != "x$PS1" ] |
6 |
> |
7 |
> be equivalent to: |
8 |
> |
9 |
> if [ -z $PS1 ] |
10 |
|
11 |
I see this [ "x" != "x$BLAH" ] test all over the place, especially in |
12 |
the /etc/init.d scripts. Maybe -z is not standardised or something? |
13 |
Dunno why people use it. |
14 |
-- |
15 |
Iain Buchanan <iaindb at netspace dot net dot au> |
16 |
|
17 |
It is contrary to reasoning to say that there is a vacuum or space in |
18 |
which there is absolutely nothing. |
19 |
-- Descartes |
20 |
|
21 |
-- |
22 |
gentoo-user@g.o mailing list |