Subject: test(1) ?!
To: None <tech-userlevel@netbsd.org>
From: Hauke Fath <hf@melog.de>
List: tech-userlevel
Date: 06/27/2000 13:53:46
Hi,

I need to write a shell script that runs on several NetBSD versions.

From `man test`:


(NetBSD 1.4)

     -h file       True if file exists and is a symbolic link.  This operator
                   is retained for compatibility with previous versions of
                   this program. Do not rely on its existence; use -L instead.

[...]

     -L file       True if file exists and is a symbolic link.



(NetBSD 1.5)

     -h file       True if file exists and is a symbolic link.

[...]

     -L file       True if file exists and is a symbolic link.  This operator
                   is retained for compatibility with previous versions of
                   this program. Do not rely on its existence; use -h instead.


-- err... what?!

	hauke