| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reduce overlinking
|
|
|
|
|
|
|
| |
- Make sure the tests go into the right directory. The location was
wrong so they were overwriting the bin/chown tests!
- Use the right naming scheme for the test program.
- Remove the svn:executable property from the shell script.
|
|
|
|
|
|
|
|
|
|
| |
variants. This allows usable file system images (i.e. those with both a
shell and an editor) to be created with only one copy of the curses library.
Exp-run: antoine
PR: 189842
Discussed with: bapt
Sponsored by: DARPA, AFRL
|
|
|
|
| |
Add some tests to help avoid breaking units
|
|
|
|
|
| |
Add support for the output-format argument. This also exposes subtle
rounding differences between GNU units and our units.
|
|
|
|
| |
Remove unused constant. Add 'static' where able.
|
|
|
|
|
| |
This allows us to run GNU units against our data files and compare the output.
In addition, current units(1) does not support '/' as a comment at all.
|
|
|
|
| |
Modern GNU units(1) supports comments anywhere with '#' but take the easy route for now and at least support start of line # comments.
|
|
|
|
| |
terse output is used when calling units from another script.
|
|
|
|
|
| |
- Add support for --help for compatibility
- Make usage() static
|
|
|
|
|
|
| |
Igor walks one way. I walked the other.
Reported by: wblock
|
|
|
|
|
|
| |
Things brings additional compatibility with units 2.10
Discussed with: wblock (man page)
|
|
|
|
|
| |
PR: 191174
Submitted by: Franco Fichtner <franco at lastsummer.de>
|
|
|
|
| |
Obtained From: DragonflyBSD
|
|
|
|
| |
Add missing el_end() call
|
|
|
|
|
|
| |
- Unbreak the -f option: it was missing a ':'
- gunits -V spits out more information than just its version: attempt to do so
as well.
|
|
|
|
| |
No need to replicate strdup
|
|
|
|
|
|
|
| |
For better readability, don't compare pointers with 0 or assign 0
to them. Use NULL instead.
Inspired by: DragonflyBSD
|
|
|
|
| |
Inspired by: DragonflyBSD
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
GNU units(1) supports reading up to 25 -f options. We support an arbitrary
number.
|
|
|
|
|
| |
Parse the config file after setting the defaults to permit the user to change
things (e.g., editing mode)
|
|
|
|
|
|
| |
Add line editing and history support to units(1) via libedit.
Reviewed by: bdrewery
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Pointyhat to: me
|
|
|
|
| |
Most of these are also recognized by GNU units
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Reviewed by: brueffer
|
| |
|
|
|
|
|
|
|
| |
forgot to tell the man page we could now convert Celsius to Fahrenheit.
Approved by: re (kib)
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
| |
- Add comments about the pegged currencies.
Submitted by: GeJ on #bsdports
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
PR: 61451
Submitted by: Tony Monroe <tmonroe+freebsd@nog.net>
|
|
|
|
|
|
|
| |
solar radii. The corresponding masses (m_earth, etc.) were already
present.
Source: "An Introduction to Modern Astrophysics," Carroll & Ostlie.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
|
| |
Submitted by: banshee <banshee@pork.abattoir.com>
MFC after: 7 days
|
| |
|
| |
|
| |
|