aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2010-01-15 15:33:00 -0900
committerDavid M. Syzdek <david@syzdek.net>2010-01-15 15:33:00 -0900
commit32d72b3e18be759d3e2e7702b4da1f7b69a36d40 (patch)
treeb902f272c8fad328f4412f180f62a9014300f89c /doc
parent6c49fedc2d2fece259984910de234f6776ff2f4c (diff)
downloaddmstools-32d72b3e18be759d3e2e7702b4da1f7b69a36d40.tar.gz
dmstools-32d72b3e18be759d3e2e7702b4da1f7b69a36d40.tar.bz2
dmstools-32d72b3e18be759d3e2e7702b4da1f7b69a36d40.tar.xz
dmstools-32d72b3e18be759d3e2e7702b4da1f7b69a36d40.zip
Adding man page for numconvert.
Diffstat (limited to 'doc')
-rw-r--r--doc/numconvert.1.in84
1 files changed, 84 insertions, 0 deletions
diff --git a/doc/numconvert.1.in b/doc/numconvert.1.in
new file mode 100644
index 0000000..960a0c5
--- /dev/null
+++ b/doc/numconvert.1.in
@@ -0,0 +1,84 @@
1.\"
2.\" DMS Tools and Utilities
3.\" Copyright (C) 2010 David M. Syzdek <david@syzdek.net>
4.\"
5.\" @SYZDEK_COPYRIGHT_HEADER_START@
6.\"
7.\" Permission is granted to copy, distribute and/or modify this document
8.\" under the terms of the GNU Free Documentation License, Version 1.2
9.\" or any later version published by the Free Software Foundation;
10.\" with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
11.\" A copy of the license is included in the section entitled "GNU
12.\" Free Documentation License".
13.\"
14.\" @SYZDEK_COPYRIGHT_HEADER_END@
15.\"
16.\" doc/numconvert.1.in - man page for numconvert
17.\"
18.TH "NUMCONVERT" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands"
19.SH NAME
20numconvert \- displays values using multiple numeral systems
21.SH SYNOPSIS
22\fBnumconvert\fR [\fB-BbDdlOoRrsXx\fR] [\fInumber1 number2 ... numberN\fR]
23.sp
24\fBnumconvert\fR [\fB--help\fR | \fB-h\fR] [\fB--version\fR | \fB-V\fR]
25
26.SH DESCRIPTION
27The \fBnumconvert\fR utility is a filter which displays numbers using different
28numeral systems. Input strings which are prefixed with \fI0x\fR are assumed to be
29 hexidecimal numerals. Input strings which are prefixed with a single `\fI0\fR'
30character are assumed to be octal numerals. Input strings which are prefixed with
31`\fI00\fR' are assumed to be binary numerals. All other strings are assumed
32to be in decimal numerals.
33
34.SH OPTIONS
35.TP
36\fB-B\fR
37Display the values as binary numerals.
38.TP
39\fB-b\fR
40Process input strings as binary numerals.
41.TP
42\fB-D\fR
43Display the values as decimal numerals.
44.TP
45\fB-d\fR
46Process input strings as decimal numerals.
47.TP
48\fB\-h\fR, \fB--help\fR
49Displays usage information and exits.
50.TP
51\fB-l\fR
52Display hexadecimal and binary numerals using the least amount of digits possible.
53.TP
54\fB-O\fR
55Display the values as octal numerals.
56.TP
57\fB-o\fR
58Process input strings as octal numerals.
59.TP
60\fB-R\fR
61Display binary numerals in little endian byte order.
62.TP
63\fB-r\fR
64Display binary numerals in little endian byte order and little endian bit order
65.TP
66\fB-s\fR
67Do not print spaces when displaying numerals.
68.TP
69\fB\-V\fR, \fB--version\fR
70displays version number and exits.
71.TP
72\fB-X\fR
73Display the values as hexadecimal numerals.
74.TP
75\fB-x\fR
76Process input strings as hexadecimal numerals.
77
78.SH "REPORTING BUGS"
79Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
80
81.SH "SEE ALSO"
82.BR codetagger (1),
83.BR numconvert (1)
84.\" end of man page