Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ units(1) — BSD/386 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought



UNITS(1)                                                 UNITS(1)


NAME
       units - convert among units

SYNOPSIS
       units

DESCRIPTION
       The  units  program  prints conversion factors between two
       sets of units.  It reads two input lines and  then  prints
       the result:
            You have:  yard
            You want:  meter
                    * 9.144000e-01
                    / 1.093613e+00
       The  first  output  line displays the constant to multiply
       the `have' quantity by to obtain the `want  quantity;  the
       second shows the constant by which to divide.

       The units program knows about a number of units, including
       compound units:
            you have: 3600 rpm
            you want: radian/sec
                    * 3.769911e+02
                    / 2.652582e-03
            you have: 65 mph
            you want: furlongs/fortnight
                    * 1.747200e+05
                    / 5.723443e-06
       It also understands currency conversions, though they  are
       only  updated  occasionally.   Currencies are specified by
       the name of the country followed by an underscore followed
       by the name of the currency:
            you have: 100 dollars
            you want: zairezaire
                    * 2.652000e+08
                    / 3.770739e-09

       See  a complete list of all units and conversions by read-
       ing the program itself, which is a perl script.

COPYRIGHT
       Copyright (c) 1993 BSDI
       All rights reserved.

BUGS
       The program's conversion  data  has  not  been  thoroughly
       tested.

       While  some  conversion  factors  are  relatively constant
       (e.g., the speed of light), the currency  conversion  fac-
       tors change on a daily basis.






                                                                1


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026