aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile.am6
-rw-r--r--dmstools.xcodeproj/project.pbxproj2
-rw-r--r--doc/bindump.1.in1
-rw-r--r--doc/bitops.1.in63
-rw-r--r--doc/numconvert.1.in1
5 files changed, 72 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index f478ebf..1e42c6e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -44,7 +44,7 @@ include_HEADERS = include/dms.h include/dmsversion.h
44lib_LTLIBRARIES = lib/libdms.la 44lib_LTLIBRARIES = lib/libdms.la
45noinst_PROGRAMS = 45noinst_PROGRAMS =
46noinst_HEADERS = src/common.h 46noinst_HEADERS = src/common.h
47man_MANS = doc/bindump.1 doc/codetagger.1 doc/numconvert.1 47man_MANS = doc/bitops.1 doc/bindump.1 doc/codetagger.1 doc/numconvert.1
48 48
49 49
50# macros for lib/libotadm.la 50# macros for lib/libotadm.la
@@ -142,6 +142,7 @@ XFAIL_TESTS =
142EXTRA_DIST = build-aux/config.rpath \ 142EXTRA_DIST = build-aux/config.rpath \
143 build-aux/git-package-version \ 143 build-aux/git-package-version \
144 doc/bindump.1.in \ 144 doc/bindump.1.in \
145 doc/bitops.1.in \
145 doc/numconvert.1.in \ 146 doc/numconvert.1.in \
146 include/dmsversion.h.in \ 147 include/dmsversion.h.in \
147 include/gettext.h \ 148 include/gettext.h \
@@ -209,6 +210,9 @@ git-package-version-check:
209 210
210$(srcdir)/acinclude.m4: git-package-version-check 211$(srcdir)/acinclude.m4: git-package-version-check
211 212
213doc/bitops.1: Makefile $(srcdir)/doc/bitops.1.in
214 @$(do_subst_dt)
215
212doc/bindump.1: Makefile $(srcdir)/doc/bindump.1.in 216doc/bindump.1: Makefile $(srcdir)/doc/bindump.1.in
213 @$(do_subst_dt) 217 @$(do_subst_dt)
214 218
diff --git a/dmstools.xcodeproj/project.pbxproj b/dmstools.xcodeproj/project.pbxproj
index 47cddc6..16afbe0 100644
--- a/dmstools.xcodeproj/project.pbxproj
+++ b/dmstools.xcodeproj/project.pbxproj
@@ -12,6 +12,7 @@
12 A004228D0E0E3C4200B0ED60 /* posixregex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = posixregex.c; sourceTree = "<group>"; }; 12 A004228D0E0E3C4200B0ED60 /* posixregex.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = posixregex.c; sourceTree = "<group>"; };
13 A007E66F0EB09C51008A1261 /* recurse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = recurse.c; sourceTree = "<group>"; }; 13 A007E66F0EB09C51008A1261 /* recurse.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = recurse.c; sourceTree = "<group>"; };
14 A01FEF0211013417005CD0F8 /* bindump.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bindump.1.in; sourceTree = "<group>"; }; 14 A01FEF0211013417005CD0F8 /* bindump.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bindump.1.in; sourceTree = "<group>"; };
15 A01FEF0311013417005CD0F8 /* bitops.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bitops.1.in; sourceTree = "<group>"; };
15 A01FEF0411013417005CD0F8 /* numconvert.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = numconvert.1.in; sourceTree = "<group>"; }; 16 A01FEF0411013417005CD0F8 /* numconvert.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = numconvert.1.in; sourceTree = "<group>"; };
16 A02133F00E0E4C9C00336FDD /* acinclude.m4 */ = {isa = PBXFileReference; explicitFileType = text.script.sh; fileEncoding = 4; indentWidth = 8; path = acinclude.m4; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; 17 A02133F00E0E4C9C00336FDD /* acinclude.m4 */ = {isa = PBXFileReference; explicitFileType = text.script.sh; fileEncoding = 4; indentWidth = 8; path = acinclude.m4; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
17 A02133F10E0E4CCE00336FDD /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = AUTHORS; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; 18 A02133F10E0E4CCE00336FDD /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = AUTHORS; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
@@ -93,6 +94,7 @@
93 children = ( 94 children = (
94 A02135010E0E7C6200336FDD /* Doxyfile */, 95 A02135010E0E7C6200336FDD /* Doxyfile */,
95 A01FEF0211013417005CD0F8 /* bindump.1.in */, 96 A01FEF0211013417005CD0F8 /* bindump.1.in */,
97 A01FEF0311013417005CD0F8 /* bitops.1.in */,
96 A02134D30E0E719000336FDD /* codetagger.1.in */, 98 A02134D30E0E719000336FDD /* codetagger.1.in */,
97 A01FEF0411013417005CD0F8 /* numconvert.1.in */, 99 A01FEF0411013417005CD0F8 /* numconvert.1.in */,
98 ); 100 );
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