Subject: Re: add -H hard link test for test(1)
To: Jarle Greipsland <>
From: Jeremy C. Reed <>
List: tech-userlevel
Date: 07/31/2002 09:02:42
On Wed, 31 Jul 2002, Jarle Greipsland wrote:

> $ test $(stat -f %l /usr/lib/libdes.a) -gt 1 && echo hard link || echo not hard link
> not hard link

I didn't know about the April stat(1) addition.

Different on my system (libdes.a and libcrypto.a are the same).

Nevertheless, thanks for the info about stat(1).

   Jeremy C. Reed