Gentoo Archives: gentoo-dev

From: "C. Linus Hicks" <lhicks@×××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Why don't they use -o in system scripts?
Date: Tue, 31 Dec 2002 05:47:34
1 I'm confused about why they use [ expression1 ] || [ expression2 ]
2 rather than [ expression1 -o expression2 ] in system scripts like
3 /etc/profile. It doesn't do the same thing, and I suppose the results
4 are usually the same. However, my read of the script is that what they
5 really want is a logical OR which is what the -o gives you.
7 --
8 C. Linus Hicks <lhicks@×××××.com>
11 --
12 gentoo-dev@g.o mailing list


Subject Author
Re: [gentoo-dev] Why don't they use -o in system scripts? Martin Schlemmer <azarah@g.o>