bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem ? bug ?


From: Mike Frysinger
Subject: Re: problem ? bug ?
Date: Sun, 5 Feb 2006 00:53:46 -0500
User-agent: KMail/1.9.1

On Sunday 05 February 2006 00:41, Paul Jarc wrote:
> kaneda@bohater.net wrote:
> > [kaneda<-ogorasek]~$if [ ! -a /etc/passwd ] ; then echo si ; fi
>
> -a is used as a binary "and" operator here.  The expressions "!" and
> "/etc/passwd" are nonempty strings, so both are considered true, and
> the overall result is true.

better to read the existing history thus far on the -a subject
http://lists.gnu.org/archive/html/bug-bash/2006-01/msg00015.html
-mike




reply via email to

[Prev in Thread] Current Thread [Next in Thread]