bug-bash
[Top][All Lists]
Advanced

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

Re: problem ? bug ?


From: Chet Ramey
Subject: Re: problem ? bug ?
Date: Sun, 05 Feb 2006 13:56:25 -0500
User-agent: Thunderbird 1.5 (Macintosh/20051201)

Mike Frysinger wrote:
> 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

Paul is correct, this is not a bug.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live Strong.
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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