test.1 -> "if file exists" -> "if pathname resolves to an existing directory entry"

<[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
FWIW, the current test.1 man page could, IMHO, be improved by
mimicking POSIX wording i.e. by replacing "if file exists" by the
corresponding variant of "if pahtname resolves to an existing
directory entry...".

Context: I wondered how to test that a file exists in all cases, that
is, if it is a symlink, testing that it is pointing to an existing file,
and the current description of "-e":

	-e file       True if file exists (regardless of type).

let me wondering: what "file" is supposed to exist? The symlink by
itself? or what it points to?

This explaining that.
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.