Eitan Adler
cae148478c
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.
2014-07-17 06:54:12 +00:00
Eitan Adler
0ce97bdf81
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.
2014-07-05 03:25:26 +00:00
Eitan Adler
8d61f393a3
units(1): Add 'terse' support
...
terse output is used when calling units from another script.
2014-07-05 03:17:57 +00:00
Eitan Adler
a913717b0d
units(1): Add 'help' flag
...
- Add support for --help for compatibility
- Make usage() static
2014-07-04 22:19:21 +00:00
Eitan Adler
c27cc201fb
units(1): Fix man page
...
Igor walks one way. I walked the other.
Reported by: wblock
2014-07-04 21:34:48 +00:00
Eitan Adler
5192ff4547
units(1): add long options
...
Things brings additional compatibility with units 2.10
Discussed with: wblock (man page)
2014-07-04 21:21:05 +00:00
Baptiste Daroussin
2b7af31cf5
use .Mt to mark up email addresses consistently (part3)
...
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
2014-06-23 08:23:05 +00:00
Eitan Adler
9653775e6b
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.
2014-04-14 20:51:04 +00:00
Eitan Adler
114022f58e
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.
2014-04-14 16:55:09 +00:00
Eitan Adler
6d12a83408
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
2014-04-07 02:31:10 +00:00
Joel Dahl
c2965cd185
mdoc: terminate quoted strings.
...
Reviewed by: brueffer
2012-03-26 15:18:14 +00:00
David Malone
ab7e59168c
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
2011-09-15 19:52:43 +00:00
Ruslan Ermilov
0227791b40
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
Ruslan Ermilov
6c7216df78
Sort sections.
2005-01-18 13:43:56 +00:00
Ruslan Ermilov
6a3e8b0adc
Mechanically kill hard sentence breaks.
2004-07-02 22:22:35 +00:00
Ruslan Ermilov
11c798a4de
mdoc(7): Fixed list types.
2004-07-02 19:37:24 +00:00
Dima Dorfman
f247324df7
Remove whitespace at EOL.
2001-07-15 08:06:20 +00:00
Doug Barton
e69b2bc11c
Reverse order of from and to in order to match reality.
...
PR: 26631
Submitted by: Glenn Johnson, glennpj@charter.net
2001-04-25 07:43:45 +00:00
Daniel C. Sobral
5bf6254172
All temperature scales are centigrades. Use "Celsius" instead.
2001-03-01 05:51:46 +00:00
David Malone
294a60d836
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.
2000-12-24 16:15:28 +00:00
Ruslan Ermilov
9b88faecd3
Prepare for mdoc(7)NG.
2000-12-19 16:00:12 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Philippe Charnier
306005e78c
.Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.
1998-03-23 07:48:45 +00:00
Philippe Charnier
d4d0763a7d
Use err(3). Cosmetic in usage(). Rewrote man page in mdoc format.
1997-08-21 06:49:33 +00:00
Alexander Langer
73e07a5059
Specify the full path of units.lib in the FILES section.
1997-05-06 03:31:14 +00:00
Peter Wemm
c115df18cd
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
Jordan K. Hubbard
1130b656e5
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.
1997-01-14 07:20:47 +00:00
Alexander Langer
fd70ee8464
Added revised manpage submitted by the author of units.
...
Reviewed by: alex
Submitted by: Adrian Mariano <adrian@cam.cornell.edu>
1996-06-10 00:43:42 +00:00
Alexander Langer
a303171509
Units conversion utility courtesy of NetBSD.
...
Submitted by: Jeremy Prior
Obtained from: NetBSD
1996-06-08 03:43:43 +00:00