gnu-arch-users
[Top][All Lists]
Advanced

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

Re: [Gnu-arch-users] bash scripting conditionals: "-a" vs "-e"


From: Miles Bader
Subject: Re: [Gnu-arch-users] bash scripting conditionals: "-a" vs "-e"
Date: Fri, 12 Nov 2004 16:51:12 -0500
User-agent: Mutt/1.3.28i

On Sat, Nov 13, 2004 at 08:04:57AM +1100, Zenaan Harkness wrote:
> Well that seems to be the functionality, but the docs tell otherwise,
> both info and man include the following:
> 
>        -a file
>               True if file exists.

But I don't think anybody uses it, they use -e.

I suppose the unary -a is for compability with some crufty old version of
test, or a mistake...

-Miles
-- 
Yo mama's so fat when she gets on an elevator it HAS to go down.




reply via email to

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