|
From: | Chet Ramey |
Subject: | Re: File test -a and -e do not behave as described in the man page. |
Date: | Sat, 08 May 2004 14:28:19 -0400 |
User-agent: | Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.6) Gecko/20040113 |
Alexander Blazej wrote:
Machine Type: i386-pc-linux-gnu Bash Version: 2.05b Patch Level: 0 Release Status: release Description: The man page section "CONDITIONAL EXPRESSIONS" contains: -a file True if file exists. -e file True if file exists. However their behavior is different. Please correctly document "-a".
Please re-read the section of the manual page describing the `test' builtin, especially the parts describing how the behavior is governed by the number of arguments. In the three-argument case, `-a' is treated as a binary operator. Question E1 in the Bash FAQ discusses this issue as well. Chet
[Prev in Thread] | Current Thread | [Next in Thread] |