Next: GNU Free Documentation License, Previous: Updating Currency Exchange Rates and CPI, Up: Units Conversion [Contents][Index]
Define a regular unit.
Define a prefix.
Define a nonlinear unit or unit function. The four optional keywords noerror
,
‘units=’, ‘range=’ and ‘domain=’ can appear in
any order. The definition of the inverse is optional.
Define a piecewise linear unit. The pair list gives the points on the
table listed in ascending order. The noerror
keyword is
optional.
End a block of definitions beginning with ‘!locale’
End a block of definitions begun with ‘!utf8’
End a block of definitions begun with ‘!var’ or ‘!varnot’
Include the specified file.
Load the following definitions only of the locale is set to value.
Display text when the database is read unless the quiet option (-q) is enabled. If you omit text, then units will display a blank line. Messages will also appear in the log file.
Prefix the ‘You have:’ prompt with the specified text. If you omit text, then any existing prefix is canceled.
Sets the environment variable, variable, to the specified value only if it is not already set.
Define a unit list alias.
Load the following definitions only if units
is running with
UTF-8 enabled.
Load the block of definitions that follows only if the environment
variable envar is set to one of the values listed in the
space-separated value list. If envar is not set,
units
prints an error message and ignores the block of
definitions.
Load the block of definitions that follows only if the environment
variable envar is set to value that is not listed in the
space-separated value list. If envar is not set, units
prints an error message and ignores the block of definitions.
Next: GNU Free Documentation License, Previous: Updating Currency Exchange Rates and CPI, Up: Units Conversion [Contents][Index]