xref: /freebsd/usr.bin/number/number.6 (revision bdcbfde31e8e9b343f113a1956384bdf30d1ed62)
1*6ae1554aSColin Percival.\" Copyright (c) 1989, 1993, 1994
2*6ae1554aSColin Percival.\"	The Regents of the University of California.  All rights reserved.
3*6ae1554aSColin Percival.\"
4*6ae1554aSColin Percival.\" Redistribution and use in source and binary forms, with or without
5*6ae1554aSColin Percival.\" modification, are permitted provided that the following conditions
6*6ae1554aSColin Percival.\" are met:
7*6ae1554aSColin Percival.\" 1. Redistributions of source code must retain the above copyright
8*6ae1554aSColin Percival.\"    notice, this list of conditions and the following disclaimer.
9*6ae1554aSColin Percival.\" 2. Redistributions in binary form must reproduce the above copyright
10*6ae1554aSColin Percival.\"    notice, this list of conditions and the following disclaimer in the
11*6ae1554aSColin Percival.\"    documentation and/or other materials provided with the distribution.
12*6ae1554aSColin Percival.\" 3. Neither the name of the University nor the names of its contributors
13*6ae1554aSColin Percival.\"    may be used to endorse or promote products derived from this software
14*6ae1554aSColin Percival.\"    without specific prior written permission.
15*6ae1554aSColin Percival.\"
16*6ae1554aSColin Percival.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17*6ae1554aSColin Percival.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18*6ae1554aSColin Percival.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19*6ae1554aSColin Percival.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20*6ae1554aSColin Percival.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*6ae1554aSColin Percival.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22*6ae1554aSColin Percival.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*6ae1554aSColin Percival.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*6ae1554aSColin Percival.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*6ae1554aSColin Percival.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*6ae1554aSColin Percival.\" SUCH DAMAGE.
27*6ae1554aSColin Percival.\"
28*6ae1554aSColin Percival.Dd March 31, 1994
29*6ae1554aSColin Percival.Dt NUMBER 6
30*6ae1554aSColin Percival.Os
31*6ae1554aSColin Percival.Sh NAME
32*6ae1554aSColin Percival.Nm number
33*6ae1554aSColin Percival.Nd convert Arabic numerals to English
34*6ae1554aSColin Percival.Sh SYNOPSIS
35*6ae1554aSColin Percival.Nm
36*6ae1554aSColin Percival.Op Fl l
37*6ae1554aSColin Percival.Op Ar \&# ...
38*6ae1554aSColin Percival.Sh DESCRIPTION
39*6ae1554aSColin PercivalThe
40*6ae1554aSColin Percival.Nm
41*6ae1554aSColin Percivalutility prints the English equivalent of the number to the standard
42*6ae1554aSColin Percivaloutput, with each 10^3 magnitude displayed on a separate line.
43*6ae1554aSColin PercivalIf no argument is specified,
44*6ae1554aSColin Percival.Nm
45*6ae1554aSColin Percivalreads lines from the standard input.
46*6ae1554aSColin Percival.Pp
47*6ae1554aSColin PercivalThe options are as follows:
48*6ae1554aSColin Percival.Bl -tag -width Ds
49*6ae1554aSColin Percival.It Fl l
50*6ae1554aSColin PercivalDisplay the number on a single line.
51*6ae1554aSColin Percival.El
52*6ae1554aSColin Percival.Sh BUGS
53*6ae1554aSColin PercivalAlthough
54*6ae1554aSColin Percival.Nm
55*6ae1554aSColin Percivalunderstand fractions, it does not understand exponents.
56