Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15524
| Path | csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Andreas Schwab <schwab@suse.de> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: -e test description in the GNU Bash 5.0 man page from 7 December 2018 |
| Date | Mon, 21 Oct 2019 11:11:23 +0200 |
| Lines | 29 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.1356.1571649090.9715.bug-bash@gnu.org> (permalink) |
| References | <6f5fd3b2-2e3b-4730-b2d8-50b89e9e3085@gmail.com> <mvmd0eqa2f8.fsf@suse.de> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | quoted-printable |
| X-Trace | usenet.stanford.edu 1571649091 16683 209.51.188.17 (21 Oct 2019 09:11:31 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | chet.ramey@case.edu, bug-bash@gnu.org |
| To | Marco Ippolito <maroloccio@gmail.com> |
| Envelope-to | bug-bash@gnu.org |
| X-Virus-Scanned | by amavisd-new at test-mx.suse.de |
| X-Yow | Civilization is fun! Anyway, it keeps me busy!! |
| In-Reply-To | <6f5fd3b2-2e3b-4730-b2d8-50b89e9e3085@gmail.com> (Marco Ippolito's message of "Mon, 21 Oct 2019 00:31:41 +0200") |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] |
| X-Received-From | 195.135.220.15 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.23 |
| 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 | <https://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> |
| X-Mailman-Original-Message-ID | <mvmd0eqa2f8.fsf@suse.de> |
| X-Mailman-Original-References | <6f5fd3b2-2e3b-4730-b2d8-50b89e9e3085@gmail.com> |
| Xref | csiph.com gnu.bash.bug:15524 |
Show key headers only | View raw
On Okt 21 2019, Marco Ippolito wrote:
> In the GNU Bash 5.0 man page from 7 December 2018 the -e test is
> documented as such:
>
> -e file
> True if file exists.
>
> When "file" is a symlink name to a non-existing target, the -e test fails,
> and this may be surprising from just reading the documentation.
It also says:
Unless otherwise specified, primaries that operate on files follow sym-
bolic links and operate on the target of the link, rather than the link
itself.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread
Re: -e test description in the GNU Bash 5.0 man page from 7 December 2018 Andreas Schwab <schwab@suse.de> - 2019-10-21 11:11 +0200
csiph-web