Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #14726
| Path | csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Ilkka Virta <itvirta@iki.fi> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Strange (wrong?) behaviour of "test ! -a file" |
| Date | Sun, 21 Oct 2018 21:24:24 +0300 |
| Lines | 74 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.2551.1540146298.1284.bug-bash@gnu.org> (permalink) |
| References | <20181021113211.23c6b725374a558e83bf6718@schrader-schulte.de> <be0268da-66dd-4f3d-1f4d-d08706a8108c@case.edu> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | multipart/mixed; boundary="------------3CCB209638BC5649ACE09447" |
| X-Trace | usenet.stanford.edu 1540146298 30088 208.118.235.17 (21 Oct 2018 18:24:58 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| To | chet.ramey@case.edu, Martin Schulte <gnu@schrader-schulte.de>, bug-bash@gnu.org |
| Envelope-to | bug-bash@gnu.org |
| User-Agent | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 |
| In-Reply-To | <be0268da-66dd-4f3d-1f4d-d08706a8108c@case.edu> |
| Content-Language | en-US |
| X-SASI-RCODE | 200 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; h=subject:to:references:from:message-id:date:mime-version:in-reply-to:content-type; s=smtp; bh=rw5DqjK+egyszZCQZJnZNZ48kk1IEoykWAzYaGTfUVI=; b=rQ2Wm21+MbD6TG9B/mRSYPKSg5Lq7bqFIK89p4RIdNbPHbCz/CO0si1QSIbXx2JOufOCY+nzF0hmhyuEiYed7P326gntuYqJRpnLFx+LGy3xpdML5qUu4ajUmm5Gy9bTqPmV3xkpBPWzKU3ESdEa3VTZ6qMnimm0+f2pQgpXbjgGm/QcHAFDbW1V1/1DC7aMWfCZwQRHkXCCIhCVWd40wpOOiIlq2IUvR88075Ap7weSha3Rt72NHU+LoDdxZ+CQescUwdwiM5y3XILxfg/twVXeLkDLEwK7qqbYF6sGSDYOFHX560aMgCqnO18jGRI48Daw80+h2AnQjXxiGIzUKw== |
| X-detected-operating-system | by eggs.gnu.org: FreeBSD 8.x |
| X-Received-From | 157.24.2.213 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash/> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:14726 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On 21.10. 20:03, Chet Ramey wrote: > The help text for test says > > "The behavior of test depends on the number of arguments. Read the > bash manual page for the complete specification." Can I suggest adding that note from the help text to the manual under "Bash Conditional Expressions" too? Perhaps also explicitly noting the clash with the binary operators in the descriptions of -a and -o, too. Something along the lines of the attached patch. I also think the description of the 3-argument test would be clearer with numbering, so I added that too. -- Ilkka Virta / itvirta@iki.fi
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: Strange (wrong?) behaviour of "test ! -a file" Ilkka Virta <itvirta@iki.fi> - 2018-10-21 21:24 +0300
csiph-web