1*e5aeb4eaSagc.\" $NetBSD: number.6,v 1.7 2003/08/07 09:37:30 agc Exp $ 242fb1b9dScgd.\" 342fb1b9dScgd.\" Copyright (c) 1989, 1993, 1994 442fb1b9dScgd.\" The Regents of the University of California. All rights reserved. 561f28255Scgd.\" 661f28255Scgd.\" Redistribution and use in source and binary forms, with or without 761f28255Scgd.\" modification, are permitted provided that the following conditions 861f28255Scgd.\" are met: 961f28255Scgd.\" 1. Redistributions of source code must retain the above copyright 1061f28255Scgd.\" notice, this list of conditions and the following disclaimer. 1161f28255Scgd.\" 2. Redistributions in binary form must reproduce the above copyright 1261f28255Scgd.\" notice, this list of conditions and the following disclaimer in the 1361f28255Scgd.\" documentation and/or other materials provided with the distribution. 14*e5aeb4eaSagc.\" 3. Neither the name of the University nor the names of its contributors 1561f28255Scgd.\" may be used to endorse or promote products derived from this software 1661f28255Scgd.\" without specific prior written permission. 1761f28255Scgd.\" 1861f28255Scgd.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 1961f28255Scgd.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2061f28255Scgd.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2161f28255Scgd.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2261f28255Scgd.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2361f28255Scgd.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2461f28255Scgd.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2561f28255Scgd.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2661f28255Scgd.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2761f28255Scgd.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2861f28255Scgd.\" SUCH DAMAGE. 2961f28255Scgd.\" 3042fb1b9dScgd.\" @(#)number.6 8.2 (Berkeley) 3/31/94 3161f28255Scgd.\" 3242fb1b9dScgd.Dd March 31, 1994 33defa0d9fSjtc.Dt NUMBER 6 34defa0d9fSjtc.Os 35defa0d9fSjtc.Sh NAME 36defa0d9fSjtc.Nm number 37defa0d9fSjtc.Nd convert Arabic numerals to English 38defa0d9fSjtc.Sh SYNOPSIS 395ab1a671Slukem.Nm 40dc53bf3cSsoren.Op Fl l 41dc53bf3cSsoren.Op Ar number ... 42defa0d9fSjtc.Sh DESCRIPTION 4361f28255ScgdThe 445ab1a671Slukem.Nm 4542fb1b9dScgdutility prints the English equivalent of the number to the standard 4642fb1b9dScgdoutput, with each 10^3 magnitude displayed on a separate line. 4761f28255ScgdIf no argument is specified, 485ab1a671Slukem.Nm 4942fb1b9dScgdreads lines from the standard input. 5042fb1b9dScgd.Pp 5142fb1b9dScgdThe options are as follows: 5242fb1b9dScgd.Bl -tag -width Ds 5342fb1b9dScgd.It Fl l 5442fb1b9dScgdDisplay the number on a single line. 5542fb1b9dScgd.El 56defa0d9fSjtc.Sh BUGS 5742fb1b9dScgdAlthough 585ab1a671Slukem.Nm 5942fb1b9dScgdunderstand fractions, it doesn't understand exponents. 60