History log of /freebsd-11.0-release/usr.bin/units/units.1
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 298388 21-Apr-2016 eadler

Bring a little more compability with GNU units 2.12
- notionally support a 'history file' flag. This doesn't do much now,
but is there to prevent scripts written against GNU units from
breaking
- correctly gracefully quit rather than exit (this will make it easier
to support a history file in the future)
- remove the "t" flag from fopen which was there to support windows. We
have not supported windows since at the latest, the introduction of
capsicum.


# 298253 19-Apr-2016 eadler

Rename units.lib -> definitions.units
- this matches GNU units 2.12
add ISO country codes from units 2.12


# 268792 17-Jul-2014 eadler

units(1): Add support for output-format
Add support for the output-format argument. This also exposes subtle
rounding differences between GNU units and our units.


# 268278 05-Jul-2014 eadler

units: Support start of line comments with '#'
Modern GNU units(1) supports comments anywhere with '#' but take the easy route for now and at least support start of line # comments.


# 268277 05-Jul-2014 eadler

units(1): Add 'terse' support
terse output is used when calling units from another script.


# 268271 04-Jul-2014 eadler

units(1): Add 'help' flag
- Add support for --help for compatibility
- Make usage() static


# 268270 04-Jul-2014 eadler

units(1): Fix man page
Igor walks one way. I walked the other.

Reported by: wblock


# 268269 04-Jul-2014 eadler

units(1): add long options
Things brings additional compatibility with units 2.10

Discussed with: wblock (man page)


# 267773 23-Jun-2014 bapt

use .Mt to mark up email addresses consistently (part3)

PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>


# 264470 14-Apr-2014 eadler

units(1): Add v option: verbose

For increased compatibility with GNU units: support a -v option which
produces more verbose output when spitting out the answer.
GNU -v does additional work in the version, information, and check output which
we do not (yet?) replicate.


# 264463 14-Apr-2014 eadler

units(1): Add U option

For increased compatibility with GNU units: support a -U option which tests for the
existence of the default units file and prints it to the screen.


# 264216 07-Apr-2014 eadler

units(1): make -V print version instead of -v

The units program is likely little used. It is even less likely that a script
will want the units program to print out its version number by passing -v.

GNU units uses -V for version and -v for verbosity.

Increase compatibility between these two versions (written by the same author)
by switching our flag as well.

Take this opportunity to remove bogus information about the version number and
just call it 'FreeBSD units'.

Discussed with: cperciva, rwatson


# 233510 26-Mar-2012 joel

mdoc: terminate quoted strings.

Reviewed by: brueffer


# 225596 15-Sep-2011 dwmalone

It seems when I added code for affine unit changes to units, I
forgot to tell the man page we could now convert Celsius to Fahrenheit.

Approved by: re (kib)
MFC after: 1 month


# 141846 13-Feb-2005 ru

Expand *n't contractions.


# 140420 18-Jan-2005 ru

Sort sections.


# 131491 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


# 131475 02-Jul-2004 ru

mdoc(7): Fixed list types.


# 79755 15-Jul-2001 dd

Remove whitespace at EOL.


# 75941 25-Apr-2001 dougb

Reverse order of from and to in order to match reality.

PR: 26631
Submitted by: Glenn Johnson, glennpj@charter.net


# 73259 01-Mar-2001 dcs

All temperature scales are centigrades. Use "Celsius" instead.


# 70338 24-Dec-2000 dwmalone

As far as I can tell, you have never been able to use 'ab' as a unit
name if 'a' and 'b' are unit names. You can use 'a b' though.


# 70197 19-Dec-2000 ru

Prepare for mdoc(7)NG.


# 68854 17-Nov-2000 ru

mdoc(7) police: use certified section headers wherever possible.


# 50477 28-Aug-1999 peter

$Id$ -> $FreeBSD$


# 34801 23-Mar-1998 charnier

.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.


# 28502 21-Aug-1997 charnier

Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format.


# 25504 06-May-1997 alex

Specify the full path of units.lib in the FILES section.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

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.


# 16269 10-Jun-1996 alex

Added revised manpage submitted by the author of units.

Reviewed by: alex
Submitted by: Adrian Mariano <adrian@cam.cornell.edu>


# 16187 08-Jun-1996 alex

This commit was generated by cvs2svn to compensate for changes in r16186,
which included commits to RCS files with non-trunk default branches.


# 16186 08-Jun-1996 alex

Units conversion utility courtesy of NetBSD.

Submitted by: Jeremy Prior
Obtained from: NetBSD