[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: -e test description in the GNU Bash 5.0 man page from 7 December 201
From: |
Andreas Schwab |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
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."