bug-bash
[Top][All Lists]
Advanced

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

Re: -a vs -e


From: Eric Blake
Subject: Re: -a vs -e
Date: Thu, 05 Sep 2013 10:36:01 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/05/2013 10:33 AM, Greg Wooledge wrote:
> On Wed, Sep 04, 2013 at 10:06:16PM -0700, address@hidden wrote:
>> $ [ ! -e stuff.txt ]; echo $?
>> 1
>> $ [ ! -a stuff.txt ]; echo $?
>> 0     # what?
>>
>> Both these version show the exact same behaviour.
>>
>> Fedora 18, bash 4.2.45(1)-release
>> OSX, 3.2.48(1)-release
> 
> Also occurs in 4.3.0-beta.

Which is good, because it's not a bug.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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