Index | Thread | Search

From:
Evan Silberman <evan@jklol.net>
Subject:
Re: units(1): history
To:
Jonathan Gray <jsg@jsg.id.au>
Cc:
tech@openbsd.org
Date:
Sat, 30 Nov 2024 15:10:12 -0800

Download raw body.

Thread
Jonathan Gray <jsg@jsg.id.au> wrote:
> On Sat, Nov 30, 2024 at 02:54:43PM -0800, Evan Silberman wrote:
> > Jonathan Gray <jsg@jsg.id.au> wrote:
> > > I dislike history sections, they are often verbose and wrong.
> > > units was in v6.  NetBSD 1.0 implies it is/was in OpenBSD.
> > 
> > It seems to have been recent practice to add concise history sections
> > when they are missing and someone is interested. I'm generally happy to
> > read them. I'm not super experienced researching these things, I found a
> > units utility in the v7 sources via TUHS browser but couldn't find it in
> > v6.
> 
> https://www.tuhs.org/cgi-bin/utree.pl?file=V6/usr/source/s2/units.c
> https://www.tuhs.org/cgi-bin/utree.pl?file=V6/usr/man/man6/units.6

Thank you, I'll download the sources for a less clunky way to find
things if I keep trying to generate these.

Patch addressing both comments:

--- usr.bin/units/units.1
+++ usr.bin/units/units.1
@@ -212,6 +212,15 @@ the standard units library
 .%R ISO/IEC 80000
 .%T Quantities and units \(em Part 13: Information science and technology
 .Re
+.Sh HISTORY
+A
+.Nm
+command first appeared in
+.At v6 .
+This version of
+.Nm
+appeared in
+.Nx 1.0 .
 .Sh AUTHORS
 .An Adrian Mariano Aq Mt adrian@cam.cornell.edu
 or