Name Date Size #Lines LOC

..13-Oct-2023-

MakefileH A D08-May-2022328 1510

READMEH A D08-May-2022832 2015

pathnames.hH A D08-May-20221.9 KiB351

units.1H A D08-May-20225.4 KiB193188

units.cH A D08-May-202216.9 KiB799659

units.libH A D08-May-202213.1 KiB

README

1# $FreeBSD: src/usr.bin/units/README,v 1.4 1999/08/28 01:07:09 peter Exp $
2# $DragonFly: src/usr.bin/units/README,v 1.2 2003/06/17 04:29:33 dillon Exp $
3
4This is a program which I wrote as a clone of the UNIX 'units'
5command.  I threw it together in a couple days, but it seems to work,
6with some restrictions.  I have tested it under DOS with Borland C and
7Ultrix 4.2, and SunOS 4.1.
8
9This program differs from the unix units program in the following
10ways:
11   it can gracefully handle exponents larger than 9 in output
12   it uses 'e' to denote exponentiation in numbers
13   prefixes are listed in the units file
14   it tries both -s and -es plurals
15   it allows use of * for multiply and ^ for exponentiation in the input
16   the output format is somewhat different
17
18Adrian Mariano (adrian@cam.cornell.edu or mariano@geom.umn.edu)
19
20