Received: from spf5.us4.outblaze.com (spf5.us4.outblaze.com [205.158.62.27]) by sdf.lonestar.org (8.12.10/8.12.10) with ESMTP id iACLqJiN008716 for ; Fri, 12 Nov 2004 21:52:19 GMT Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by spf5.us4.outblaze.com (Postfix) with ESMTP id 1022B770A7 for ; Fri, 12 Nov 2004 21:52:23 +0000 (GMT) Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSjTm-0003jB-0a for migo@homemail.com; Fri, 12 Nov 2004 17:01:14 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CSjTS-0003ia-RO for gnu-arch-users@gnu.org; Fri, 12 Nov 2004 17:00:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CSjTR-0003i3-DO for gnu-arch-users@gnu.org; Fri, 12 Nov 2004 17:00:53 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CSjTR-0003hs-8G for gnu-arch-users@gnu.org; Fri, 12 Nov 2004 17:00:53 -0500 Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CSjKo-00073a-4S for gnu-arch-users@gnu.org; Fri, 12 Nov 2004 16:51:58 -0500 Received: from miles by fencepost.gnu.org with local (Exim 4.34) id 1CSjK4-0001QJ-Va; Fri, 12 Nov 2004 16:51:16 -0500 Date: Fri, 12 Nov 2004 16:51:12 -0500 To: Zenaan Harkness Subject: Re: [Gnu-arch-users] bash scripting conditionals: "-a" vs "-e" Message-ID: <20041112215112.GA5061@fencepost> References: <1100222699.3031.43.camel@localhost.localdomain> <20041112104128.GC721@vagabond> <1100293497.3074.6.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1100293497.3074.6.camel@localhost.localdomain> User-Agent: Mutt/1.3.28i Blat: Foop From: Miles Bader Cc: arch , Matthias Klose , Jan Hudec X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: gnu-arch-users-bounces+migo=homemail.com@gnu.org Errors-To: gnu-arch-users-bounces+migo=homemail.com@gnu.org Status: RO Content-Length: 678 Lines: 24 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. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/