On Sat, Jun 15, 2024 at 06:45:21PM -0500, Tim Chase wrote:
> According to
>
> $ man [ | grep -A4 -e "-L.*f"
> -L file
> True if file exists and is a symbolic link. This operator is for
> compatibility purposes. Do not rely on its existence; use -h
> instead.
There is definitely a discrepency between manual and source, because the
source contains a comment saying that -h is for backwards compatibility:
{"-h", FILSYM, UNOP}, /* for backwards compat */
and that comment has been there since the code was imported to NetBSD in
revision 1.13 in 1994.