Add orders(7) as a miscellaneous manual page.

This commit is contained in:
jruoho 2010-11-30 20:19:30 +00:00
parent 82747810db
commit 1b259f8e7b
3 changed files with 93 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1255 2010/11/28 01:58:39 christos Exp $
# $NetBSD: mi,v 1.1256 2010/11/30 20:19:30 jruoho Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -1968,6 +1968,7 @@
./usr/share/man/cat7/miscellaneous.0 man-obsolete obsolete
./usr/share/man/cat7/msafer.0 man-obsolete obsolete
./usr/share/man/cat7/nls.0 man-reference-catman .cat
./usr/share/man/cat7/orders.0 man-reference-catman .cat
./usr/share/man/cat7/packages.0 man-obsolete obsolete
./usr/share/man/cat7/pkgsrc.0 man-reference-catman .cat
./usr/share/man/cat7/re_format.0 man-reference-catman .cat
@ -4570,6 +4571,7 @@
./usr/share/man/html7/mailaddr.html man-reference-htmlman html
./usr/share/man/html7/mdoc.html man-groff-htmlman html,groff
./usr/share/man/html7/nls.html man-reference-htmlman html
./usr/share/man/html7/orders.html man-reference-htmlman html
./usr/share/man/html7/pkgsrc.html man-reference-htmlman html
./usr/share/man/html7/re_format.html man-reference-htmlman html
./usr/share/man/html7/release.html man-reference-htmlman html
@ -7153,6 +7155,7 @@
./usr/share/man/man7/mdoc.7 man-groff-man .man,groff
./usr/share/man/man7/msafer.7 man-obsolete obsolete
./usr/share/man/man7/nls.7 man-reference-man .man
./usr/share/man/man7/orders.7 man-reference-man .man
./usr/share/man/man7/packages.7 man-obsolete obsolete
./usr/share/man/man7/pkgsrc.7 man-reference-man .man
./usr/share/man/man7/re_format.7 man-reference-man .man

View File

@ -1,10 +1,10 @@
# $NetBSD: Makefile,v 1.22 2010/06/26 11:15:27 jmmv Exp $
# $NetBSD: Makefile,v 1.23 2010/11/30 20:19:31 jruoho Exp $
# @(#)Makefile 8.1 (Berkeley) 6/5/93
# missing: eqnchar.7 man.7 ms.7 term.7
MAN= ascii.7 environ.7 hier.7 hostname.7 intro.7 mailaddr.7 \
nls.7 operator.7 pkgsrc.7 release.7 \
nls.7 operator.7 orders.7 pkgsrc.7 release.7 \
script.7 setuid.7 signal.7 sticky.7 symlink.7 sysctl.7 \
tests.7

87
share/man/man7/orders.7 Normal file
View File

@ -0,0 +1,87 @@
.\" $NetBSD: orders.7,v 1.1 2010/11/30 20:19:31 jruoho Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
.\" by Jukka Ruohonen.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
.Dd November 30, 2010
.Dt ORDERS 7
.Os
.Sh NAME
.Nm orders
.Nd orders of magnitude
.Sh DESCRIPTION
The following table lists common multiple of bytes.
.Bl -column -offset 2n \
"Kilobyte" "Prefix" "Power of 2" "Power of 10"
.It Sy Name Ta Sy Prefix Ta Sy Power of 2 Ta Sy Power of 10
.It Kilobyte Ta kB Ta 2^10 Ta 10^3
.It Megabyte Ta MB Ta 2^20 Ta 10^6
.It Gigabyte Ta GB Ta 2^30 Ta 10^9
.It Terabyte Ta TB Ta 2^40 Ta 10^12
.It Petabyte Ta PB Ta 2^50 Ta 10^15
.It Exabyte Ta EB Ta 2^60 Ta 10^18
.It Zettabyte Ta ZB Ta 2^70 Ta 10^21
.It Yottabyte Ta YB Ta 2^80 Ta 10^24
.El
.Pp
The following table lists common orders of magnitude as a power of ten.
.Bl -column -offset 2n \
"Septillionth" "Order" "Prefix" "Symbol" "Decimal"
.It Sy Name Ta Sy Order Ta Sy Prefix Ta Sy Symbol Ta Sy Decimal
.It Septillionth Ta -24 Ta yocto Ta y Ta 0.000000000000000000000001
.It Sextillionth Ta -21 Ta zepto Ta z Ta 0.000000000000000000001
.It Quintillionth Ta -18 Ta atto Ta a Ta 0.000000000000000001
.It Quadrillionth Ta -15 Ta femto Ta f Ta 0.000000000000001
.It Trillionth Ta -12 Ta pico Ta p Ta 0.000000000001
.It Billionth Ta -9 Ta nano Ta n Ta 0.000000001
.It Millionth Ta -6 Ta micro Ta mu Ta 0.000001
.It Thousandth Ta -3 Ta milli Ta m Ta 0.001
.It Hundredth Ta -2 Ta centi Ta c Ta 0.01
.It Tenth Ta -1 Ta deci Ta d Ta 0.1
.It One Ta 0 Ta - Ta - Ta 1
.It Ten Ta 1 Ta deca Ta da Ta 10
.It Hundred Ta 2 Ta hecto Ta h Ta 100
.It Thousand Ta 3 Ta kilo Ta k Ta 1000
.It Million Ta 6 Ta mega Ta M Ta 1000000
.It Billion Ta 9 Ta giga Ta G Ta 1 000000000
.It Trillion Ta 12 Ta tera Ta T Ta 1000000000000
.It Quadrillion Ta 15 Ta peta Ta P Ta 1000000000000000
.It Quintillion Ta 18 Ta exa Ta E Ta 1000000000000000000
.It Sextillion Ta 21 Ta zetta Ta Z Ta 1000000000000000000000
.It Septillion Ta 24 Ta yotta Ta Y Ta 1000000000000000000000000
.El
.Sh STANDARDS
There have been various attempts to standardize the set of binary prefixes.
Organizations such as International Electrotechnical Commission
.Pq Tn IEC
have proposed new prefixes such as
.Dq kibi ,
.Dq mebi ,
.Dq gibi ,
and
.Dq yobi ,
but the adoption has been slow at best.