aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/doc
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2010-01-18 16:23:26 -0900
committerDavid M. Syzdek <david@syzdek.net>2010-01-18 16:23:26 -0900
commitbb88608f1ef06e82a7325e1b66a3c09f0f8c7ea6 (patch)
tree425bcd19d79d9fbd8571829e1f9a2205c9c99060 /doc
parent803469d41c2935f5e2e445344d98c71aaf301408 (diff)
downloaddmstools-bb88608f1ef06e82a7325e1b66a3c09f0f8c7ea6.tar.gz
dmstools-bb88608f1ef06e82a7325e1b66a3c09f0f8c7ea6.tar.bz2
dmstools-bb88608f1ef06e82a7325e1b66a3c09f0f8c7ea6.tar.xz
dmstools-bb88608f1ef06e82a7325e1b66a3c09f0f8c7ea6.zip
Adding man page for bitops.
Diffstat (limited to 'doc')
-rw-r--r--doc/bindump.1.in1
-rw-r--r--doc/bitops.1.in63
-rw-r--r--doc/numconvert.1.in1
3 files changed, 65 insertions, 0 deletions
diff --git a/doc/bindump.1.in b/doc/bindump.1.in
index 6598337..bd0869c 100644
--- a/doc/bindump.1.in
+++ b/doc/bindump.1.in
@@ -59,6 +59,7 @@ Disable xterm output.
59Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>. 59Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
60 60
61.SH "SEE ALSO" 61.SH "SEE ALSO"
62.BR bitops (1),
62.BR codetagger (1), 63.BR codetagger (1),
63.BR numconvert (1) 64.BR numconvert (1)
64.\" end of man page 65.\" end of man page
diff --git a/doc/bitops.1.in b/doc/bitops.1.in
new file mode 100644
index 0000000..9463e84
--- /dev/null
+++ b/doc/bitops.1.in
@@ -0,0 +1,63 @@
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/bitops.1.in - man page for bitops
17.\"
18.TH "BITOPS" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands"
19.SH NAME
20bitops \- displays the result of two values after performing bitwise operations
21.SH SYNOPSIS
22\fBbitops\fR [\fB-BDOX\fR] \fInumber1 number2\fR
23.sp
24\fBbitops\fR [\fB--help\fR | \fB-h\fR] [\fB--version\fR | \fB-V\fR]
25
26.SH DESCRIPTION
27The \fBbitops\fR utility is a filter which displays the result of two values
28after using bitwise operations. The operations performed are Arithmetic left
29shift, Arithmetic right shift, AND, OR, Inclusive OR, and negation. Input
30strings which are prefixed with \fI0x\fR are assumed to be hexidecimal
31numerals. Input strings which are prefixed with a single `\fI0\fR' character
32are assumed to be octal numerals. Input strings which are prefixed with
33`\fI00\fR' are assumed to be binary numerals. All other strings are assumed
34to be in decimal numerals.
35
36.SH OPTIONS
37.TP
38\fB-B\fR
39Display the values as binary numerals.
40.TP
41\fB-D\fR
42Display the values as decimal numerals.
43.TP
44\fB\-h\fR, \fB--help\fR
45Displays usage information and exits.
46.TP
47\fB-O\fR
48Display the values as octal numerals.
49.TP
50\fB\-V\fR, \fB--version\fR
51displays version number and exits.
52.TP
53\fB-X\fR
54Display the values as hexadecimal numerals.
55
56.SH "REPORTING BUGS"
57Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
58
59.SH "SEE ALSO"
60.BR bindump (1),
61.BR codetagger (1),
62.BR numconvert (1)
63.\" end of man page
diff --git a/doc/numconvert.1.in b/doc/numconvert.1.in
index 960a0c5..72eec72 100644
--- a/doc/numconvert.1.in
+++ b/doc/numconvert.1.in
@@ -79,6 +79,7 @@ Process input strings as hexadecimal numerals.
79Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>. 79Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
80 80
81.SH "SEE ALSO" 81.SH "SEE ALSO"
82.BR bitops (1),
82.BR codetagger (1), 83.BR codetagger (1),
83.BR numconvert (1) 84.BR numconvert (1)
84.\" end of man page 85.\" end of man page