On Tue, 2006-05-30 at 06:26 +0200, Bo Ørsted Andresen wrote: > Also shouldn't: > > if [ "x" != "x$PS1" ] > > be equivalent to: > > if [ -z $PS1 ]
I see this [ "x" != "x$BLAH" ] test all over the place, especially in the /etc/init.d scripts. Maybe -z is not standardised or something? Dunno why people use it. -- Iain Buchanan <iaindb at netspace dot net dot au> It is contrary to reasoning to say that there is a vacuum or space in which there is absolutely nothing. -- Descartes -- gentoo-user@gentoo.org mailing list