bug-bash
[Top][All Lists]
Advanced

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

Re: -e and permission denied


From: Chris Down
Subject: Re: -e and permission denied
Date: Fri, 4 Oct 2013 18:04:12 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On 2013-10-04 02:18, address@hidden wrote:
> > The operating system is (on purpose) not letting you know if that file
> > exists or not
>
> OS is not lying about file existence. It returns "permission denied" error,
> which means file may or may not exist.

Nobody said the OS is lying, it's merely not telling you.

    $ help test | grep -- -e
          -e FILE        True if file exists.

Since we don't know, the answer is false. I don't see what's wrong with that,
or how that differs from the documentation.

Attachment: pgpo9qSywo1FE.pgp
Description: PGP signature


reply via email to

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