Subject: Re: link(1) - when did it disappear?
To: None <proff@suburbia.net>
From: Giles Lean <giles@nemeton.com.au>
List: tech-userlevel
Date: 07/19/1999 09:36:47
On Sun, 18 Jul 1999 23:57:15 +1000 (EST)  proff@suburbia.net wrote:

> > On Sun, 18 Jul 1999, Lucio De Re wrote:
> > 
> > > I can write a special purpose program, or alter the existing ln(1) to accept
> > > an argv[0] of "link" and do the right think, if no-one can recommend an
> > > alternative.

As later noted, this is a filesytem restriction not a restriction
of ln(1).

> > Unix 98 specifies that link only has to call link(2) on it's two operands.
> > If this it is really this simple, then it is a simple 5 line program. 25
> > with proper error checking and formatting.  :)

> 140 lines with copyright :(:(:(

Lucio was closer.  :-)  (Yeah, proff's estimate was toung-in-cheek.)

    $ wc -l link/link.c
          56 link/link.c

That doesn't include the advertising clause of the license; add
another few lines for that!

I have submitted a PR with implementations of link and unlink
including manual pages just for the hell of it.  As ever, it took
longer to write the manual pages than the code. :-(

Regards,

Giles

P.S. I'm happy to assign copyright to the NetBSD Foundation, if
anyone cares.