Commit Graph

44 Commits

Author SHA1 Message Date
lukem
95f5c18e58 Appease -Wcast-qual with a liberal sprinkling of const. 2009-04-14 05:55:12 +00:00
dogcow
60918448c9 dipotre -> dioptre.
(nobody's noticed this typo since the file was originally added in 1993...)
2007-02-15 22:37:27 +00:00
christos
4f0fad7e36 Coverity CID 814: Add extraneous checks to shut up Coverity. 2006-05-01 00:00:12 +00:00
wiz
013b8f4ef7 Use .Nm instead of the verbose program name. From YOMURA Masanori in private mail. 2005-09-11 23:28:55 +00:00
groo
83d3e13964 A hogshead is defined in the U.S. to be 63 gallons, and otherwise refers
to a volume unit of varying capacity (betwen 63 and 140(!)) gallons.

Since the U.S. is the only place it is defined, and I can find little
evidence to support the "barrel" definition, make it 63 gallons.

Like everything, this was prompted by the Simpsons.

"The metric system is a tool of the devil!  My car gets 40 rods to the
 hogshead, and that's the way I likes it!"

		-- Abe Simpson
2005-02-01 01:08:10 +00:00
dsl
df38245cee Add (unsigned char) cast to ctype functions 2004-11-04 07:38:43 +00:00
mycroft
8ee74ae180 Recognize reciprocal conversions and generate output like GNU units(1). 2003-12-05 22:26:43 +00:00
atatat
2025668369 Remove jeroboam, magnum, and rehoboam from the "trivia" section and
put them in another section with all the other bottles (the new aptly
named "bottles" section).

Also, add shed (1e-24 barn).
2003-08-23 04:15:33 +00:00
dogcow
9217e5df47 add the smoot 2003-08-12 19:03:32 +00:00
salo
0f5a0c156d netbsd.org->NetBSD.org 2003-07-26 20:34:11 +00:00
itojun
4005e1b9e9 use strl* 2003-05-17 21:05:10 +00:00
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
kristerw
29301c43b8 Remove bogus output of '\n' when using -q. 2002-08-31 07:26:17 +00:00
atatat
d68a625e3d Fix a spelling error in the usage, and while I'm here, make it a
little more intelligent about the arguments.  A count of the
"from-unit" can now be passed more easily on the command line.
2002-04-02 18:08:28 +00:00
wiz
2246cc750f mdoc'ify. Sort sections. 2001-12-18 01:06:09 +00:00
wiz
aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
groo
f320ce17e1 Add ``score'' (20) to trivia section. 2001-11-04 03:33:49 +00:00
bjh21
6b49898e83 While I'm here, for those currencies that have a fixed exchange rate against
the Euro (BEF, DEM, ESP, FRF, IEP, ITL, LUF, NLG, ATS, PTE, FIM, GRD), use
that exchange rate.
2001-10-16 12:53:29 +00:00
bjh21
02f58b4bee Add "rackunit" (alias "RU" or "U"). 2001-10-16 12:09:04 +00:00
wiz
b4c1ab272c Add 's' to netherlandguilder. Fixes bin/12082 by Benjamin Wong. 2001-01-30 12:26:11 +00:00
mjl
dba0f7f9f3 Tyop: millennium, not millenium (FreeBSD PR/24369) 2001-01-30 00:22:29 +00:00
cgd
db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd
d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
simonb
d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
hubertf
d4bc24553d Add euro, per PR 6898 by Anders Magnusson <ragge@ludd.luth.se>
Value taken from www.deutsche-bank.de.
1999-03-15 16:02:55 +00:00
ross
73e63f19fe Fix warning. 1999-03-09 03:31:43 +00:00
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
lukem
9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
perry
db49a9331a change includes to fix compiler warning 1998-02-03 04:08:01 +00:00
lukem
2c87553437 WARNSify, fix .Nm usage, deprecate register, use <err.h> 1997-10-20 02:36:41 +00:00
christos
3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
tls
9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
thorpej
150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
thorpej
69aab31531 RCS Id police. 1996-04-06 06:00:58 +00:00
mark
d786999078 Use an integer instead of a char to store the getopt() return value in
order to match the function prototype and to work with compilers that
default to unsigned chars.
Compare the getopt() return value with -1 instead of EOF.
1996-04-01 21:43:53 +00:00
jtc
cac62b2d65 Be pedantic, main() returns int in C. 1996-03-21 17:56:15 +00:00
cgd
37dc4c7ab7 fix bugs (missing spaces) in definitions of nmile an Xunit, as pointed
out by John F. Woods <jfw@jfwhome.funhouse.com>.
1995-08-13 03:25:54 +00:00
jtc
d9a436e9ca misc cleanup by jimj. 1994-12-21 07:22:00 +00:00
jtc
af77b4745c Fix manpage typo (Bug #328) 1994-07-16 05:23:46 +00:00
cgd
df393d700c use full path when naming units lib. this file should be converted to
mandoc...
1994-04-01 08:49:59 +00:00
jtc
42f840d29d Fix spelling error in Copyright notice 1994-01-29 01:43:03 +00:00
jtc
70a4f3c1c1 Fix spelling errors. 1994-01-11 18:49:16 +00:00
cgd
9838936e57 from Thomas Eberhardt <thomas@mathematik.uni-Bremen.de>:
fix RCS id's comment
1993-11-14 15:40:42 +00:00
cgd
1701238139 add units command, written by Adrian Mariano (adrian@cam.cornell.edu or
mariano@geom.umn.edu), cleaned up, KNF'd, etc., by cgd
1993-10-27 03:31:49 +00:00