Skip to content
Browse files

Adding man page for posixregex.

  • Loading branch information...
1 parent bb88608 commit ecefa2345e8004adf8e53d724c7a93be4dc939ce @syzdek committed Jan 18, 2010
Showing with 74 additions and 1 deletion.
  1. +5 −1 Makefile.am
  2. +2 −0 dmstools.xcodeproj/project.pbxproj
  3. +1 −0 doc/codetagger.1.in
  4. +66 −0 doc/posixregex.1.in
View
6 Makefile.am
@@ -44,7 +44,7 @@ include_HEADERS = include/dms.h include/dmsversion.h
lib_LTLIBRARIES = lib/libdms.la
noinst_PROGRAMS =
noinst_HEADERS = src/common.h
-man_MANS = doc/bitops.1 doc/bindump.1 doc/codetagger.1 doc/numconvert.1
+man_MANS = doc/bitops.1 doc/bindump.1 doc/codetagger.1 doc/numconvert.1 doc/posixregex.1
# macros for lib/libotadm.la
@@ -144,6 +144,7 @@ EXTRA_DIST = build-aux/config.rpath \
doc/bindump.1.in \
doc/bitops.1.in \
doc/numconvert.1.in \
+ doc/posixregex.1.in \
include/dmsversion.h.in \
include/gettext.h \
lib/libdms.sym \
@@ -225,6 +226,9 @@ doc/codetagger.1: Makefile $(srcdir)/doc/codetagger.1.in
doc/numconvert.1: Makefile $(srcdir)/doc/numconvert.1.in
@$(do_subst_dt)
+doc/posixregex.1: Makefile $(srcdir)/doc/posixregex.1.in
+ @$(do_subst_dt)
+
include/dmsversion.h: Makefile $(srcdir)/include/dmsversion.h.in
$(mkdir_p) include
@$(do_subst_dt)
View
2 dmstools.xcodeproj/project.pbxproj
@@ -14,6 +14,7 @@
A01FEF0211013417005CD0F8 /* bindump.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bindump.1.in; sourceTree = "<group>"; };
A01FEF0311013417005CD0F8 /* bitops.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bitops.1.in; sourceTree = "<group>"; };
A01FEF0411013417005CD0F8 /* numconvert.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = numconvert.1.in; sourceTree = "<group>"; };
+ A01FEF0511013417005CD0F8 /* posixregex.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = posixregex.1.in; sourceTree = "<group>"; };
A02133F00E0E4C9C00336FDD /* acinclude.m4 */ = {isa = PBXFileReference; explicitFileType = text.script.sh; fileEncoding = 4; indentWidth = 8; path = acinclude.m4; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
A02133F10E0E4CCE00336FDD /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = AUTHORS; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
A02133F20E0E4CCE00336FDD /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; };
@@ -97,6 +98,7 @@
A01FEF0311013417005CD0F8 /* bitops.1.in */,
A02134D30E0E719000336FDD /* codetagger.1.in */,
A01FEF0411013417005CD0F8 /* numconvert.1.in */,
+ A01FEF0511013417005CD0F8 /* posixregex.1.in */,
);
path = doc;
sourceTree = "<group>";
View
1 doc/codetagger.1.in
@@ -145,6 +145,7 @@ Report bugs to <@PACKAGE_BUGREPORT@>.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.SH "SEE ALSO"
+.BR posixregex (1),
.BR sed (1),
.BR COPYING.tags
.\" end of man page
View
66 doc/posixregex.1.in
@@ -0,0 +1,66 @@
+.\"
+.\" DMS Tools and Utilities
+.\" Copyright (C) 2010 David M. Syzdek <david@syzdek.net>
+.\"
+.\" @SYZDEK_COPYRIGHT_HEADER_START@
+.\"
+.\" Permission is granted to copy, distribute and/or modify this document
+.\" under the terms of the GNU Free Documentation License, Version 1.2
+.\" or any later version published by the Free Software Foundation;
+.\" with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
+.\" A copy of the license is included in the section entitled "GNU
+.\" Free Documentation License".
+.\"
+.\" @SYZDEK_COPYRIGHT_HEADER_END@
+.\"
+.\" doc/posixregex.1.in - man page for posixregex
+.\"
+.TH "POSIXREGEX" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands"
+.SH NAME
+posixregex \- displays the result of two values after performing bitwise operations
+.SH SYNOPSIS
+\fBposixregex\fR [-r \fIregex\fR] \fIstring1 string2 ... stringN\fR
+.sp
+\fBposixregex\fR [\fB--help\fR | \fB-h\fR] [\fB--posixregex\fR | \fB-p\fR] [\fB--version\fR | \fB-V\fR]
+
+.SH DESCRIPTION
+The \fBposixregex\fR utility tests a regular expression against the specified
+strings and displays the matched segments of the strings.
+
+.SH OPTIONS
+.TP
+\fB\-h\fR, \fB--help\fR
+Displays usage information and exits.
+.TP
+\fB\-p\fR, \fB--posixregex\fR
+Print regular expression special patterns.
+.TP
+\fB\-q\fR, \fB--quiet\fR, \fB--silent\fR
+displays verbose messages.
+.TP
+\fB\-r\fR
+regular expression to use for testing strings
+.TP
+\fB\-V\fR, \fB--version\fR
+displays version number and exits.
+.TP
+\fB\-v\fR, \fB--verbose\fR
+do not print messages.
+
+.SH "ENVIRONMENT VARIABLES"
+.TP
+\fBPOSIXREGEX\fR
+default regular expression to use for testing strings
+
+.SH "DIAGNOSTICS"
+Normally, exit status is 0 if the strings match the regular expression and
+1 otherwise.
+
+.SH "REPORTING BUGS"
+Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>.
+
+.SH "SEE ALSO"
+.BR bindump (1),
+.BR codetagger (1),
+.BR numconvert (1)
+.\" end of man page

0 comments on commit ecefa23

Please sign in to comment.
Something went wrong with that request. Please try again.