summaryrefslogtreecommitdiffstats
path: root/usr.bin/units
Commit message (Collapse)AuthorAgeFilesLines
* mdoc: terminate quoted strings.joel2012-03-261-17/+17
| | | | Reviewed by: brueffer
* Add missing static keywords to units(1)ed2011-11-061-6/+6
|
* It seems when I added code for affine unit changes to units, Idwmalone2011-09-151-3/+5
| | | | | | | forgot to tell the man page we could now convert Celsius to Fahrenheit. Approved by: re (kib) MFC after: 1 month
* Add limited support for units that are related by affine ratherdwmalone2008-08-162-22/+63
| | | | | | | | | | | | | than linear relations. We can now convert degC to degF. 586 units, 56 prefixes You have: 24 degC You want: degF 75.2 You have: degC You want: K (-> x*1 +273.15) (<- y*1 -273.15)
* - acificfrancexchange -> pacificfrancexchangeedwin2008-08-071-1/+3
| | | | | | - Add comments about the pegged currencies. Submitted by: GeJ on #bsdports
* Update the units library file.edwin2008-08-071-104/+195
| | | | | | | | | | | | | | - Merge changes from NetBSD and OpenBSD. - Add the Euro as a primitive unit, add old converted currency and pegged currency (Obtained from Wikipedia) - Rename "dollar" to "usdollar" as primitive unit, remove non-pegged currency and add pegged currency (Obtained from Wikipedia) - Updated the accuracy of a lot of constants (Obtained from Wikipedia) PR: bin/106545 bin/88252 Submitted by: trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com> Approved by: bde@ (mentor) MFC after: 1 week
* Expand *n't contractions.ru2005-02-131-1/+1
|
* Sort sections.ru2005-01-181-7/+7
|
* Mechanically kill hard sentence breaks.ru2004-07-021-19/+40
|
* mdoc(7): Fixed list types.ru2004-07-021-2/+2
|
* Use miligram rather than mg in the definition of carats.dwmalone2004-05-301-2/+2
| | | | | PR: 61451 Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>
* Add r_earth, r_moon, r_sun, representing the terrestrial, lunar, andmph2003-11-051-0/+3
| | | | | | | solar radii. The corresponding masses (m_earth, etc.) were already present. Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
* Add the British hundredweight (brhundredweight). For discussion, see:tom2003-07-011-0/+7
| | | | | | | | | | | | http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030630/019926.html For a definition, see: http://www.bartleby.com/61/55/H0325500.html Also add some more computing terms described at: http://www.wikipedia.org/wiki/Integral_data_type Reviewed by: dwmalone MFC after: 2 weeks
* Add enough consts to keep everyone happy.dwmalone2002-07-281-1/+1
|
* The rate between EUR and USD has never been as large as our old valuejoerg2002-07-091-2/+2
| | | | | | | | (1.12) since the introductions as a common EU currency. Anyway, since the rate now seems to stabilize just around 1.00, fix up our value here. MFC after: 1 day
* Add tbl and tbsp as contractions of tablespoon, and tsp for teaspoon.joe2001-12-181-0/+3
| | | | | Submitted by: banshee <banshee@pork.abattoir.com> MFC after: 7 days
* Install files via FILES.ru2001-12-171-4/+2
|
* WARNS=2 is going to become the default, so remove it from here.markm2001-12-111-1/+0
|
* Remove whitespace at EOL.dd2001-07-151-12/+12
|
* Add prototypes and turn on WARNS=?2.dwmalone2001-06-242-0/+19
|
* Correct a typo.dd2001-06-011-1/+1
| | | | | PR: 22885 Submitted by: Rene de Vries <rene@tunix.nl>
* Add some gravitational values.eric2001-05-121-0/+4
| | | | Approved by: murray
* Reverse order of from and to in order to match reality.dougb2001-04-251-1/+1
| | | | | PR: 26631 Submitted by: Glenn Johnson, glennpj@charter.net
* All temperature scales are centigrades. Use "Celsius" instead.dcs2001-03-011-1/+1
|
* Add missing prefix for nano, I presume this was missing 'cos of thedwmalone2001-02-281-10/+16
| | | | | | | prefix recusrion bug. Remove units which can be derived using prefixes and other units. Add new prefixes for 2^10, 2^20, etc...
* Give units a bit of a cleanup:dwmalone2001-02-281-32/+26
| | | | | | | | | | | | | | 1) Fix a bug where the recursion on prefixes where if recusrion failed then the next attempt started too far along the string. 2) Up some internal limits that we were about to hit off. 3) Change the constness and signedness of some things and complete missing prototypes. 4) Remove the readerror function 'cos it could print out the wrong wrong file name. Replace it with more useful error messages. 5) Use sizeof when passing buffers to fgets. 6) Warn about empty prefix definitions. Reviewed by: iedowse
* Correct spelling of millennium.dwmalone2001-01-161-1/+1
| | | | | PR: 24369 Submitted by: Tony Finch <dot@dotat.at>
* As far as I can tell, you have never been able to use 'ab' as a unitdwmalone2000-12-241-1/+1
| | | | name if 'a' and 'b' are unit names. You can use 'a b' though.
* Prepare for mdoc(7)NG.ru2000-12-191-17/+18
|
* mdoc(7) police: use certified section headers wherever possible.ru2000-11-171-2/+2
|
* Add 'shot', using the definition used by bars and shotglasses.billf2000-08-271-0/+1
|
* Don't segv when trying to add a 0-length unit name.kris2000-07-311-21/+20
| | | | | | Some string-related cleanups inspired by OpenBSD. Reviewed by: asmodai
* No such thing like `southamericarand' when Rand is the currency of ZA...joerg2000-04-181-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* Add euro-currency and constant rates of EMU area.jmz1999-05-221-11/+16
| | | | | PR: bin/9263 Submitted by: Timo J. Rinne <tri@freebsd.org>
* Install using ${INSTALL}, not using `install'.bde1998-09-201-2/+2
|
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-2/+2
|
* Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format.charnier1997-08-212-115/+105
|
* Specify the full path of units.lib in the FILES section.alex1997-05-061-2/+2
|
* Revert $FreeBSD$ to $Id$peter1997-02-226-6/+6
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-146-6/+6
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Added revised manpage submitted by the author of units.alex1996-06-101-26/+60
| | | | | Reviewed by: alex Submitted by: Adrian Mariano <adrian@cam.cornell.edu>
* Fix exit code when used in non-interactive mode.alex1996-06-081-3/+5
| | | | Remove ';' typo attached to if statement.
* Units conversion utility courtesy of NetBSD.alex1996-06-086-0/+1500
Submitted by: Jeremy Prior Obtained from: NetBSD
OpenPOWER on IntegriCloud