diff options
| -rw-r--r-- | Makefile.am | 6 | ||||
| -rw-r--r-- | dmstools.xcodeproj/project.pbxproj | 2 | ||||
| -rw-r--r-- | doc/codetagger.1.in | 1 | ||||
| -rw-r--r-- | doc/posixregex.1.in | 66 |
4 files changed, 74 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 1e42c6e..9fdb882 100644 --- a/Makefile.am +++ b/Makefile.am | |||
| @@ -44,7 +44,7 @@ include_HEADERS = include/dms.h include/dmsversion.h | |||
| 44 | lib_LTLIBRARIES = lib/libdms.la | 44 | lib_LTLIBRARIES = lib/libdms.la |
| 45 | noinst_PROGRAMS = | 45 | noinst_PROGRAMS = |
| 46 | noinst_HEADERS = src/common.h | 46 | noinst_HEADERS = src/common.h |
| 47 | man_MANS = doc/bitops.1 doc/bindump.1 doc/codetagger.1 doc/numconvert.1 | 47 | man_MANS = doc/bitops.1 doc/bindump.1 doc/codetagger.1 doc/numconvert.1 doc/posixregex.1 |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | # macros for lib/libotadm.la | 50 | # macros for lib/libotadm.la |
| @@ -144,6 +144,7 @@ EXTRA_DIST = build-aux/config.rpath \ | |||
| 144 | doc/bindump.1.in \ | 144 | doc/bindump.1.in \ |
| 145 | doc/bitops.1.in \ | 145 | doc/bitops.1.in \ |
| 146 | doc/numconvert.1.in \ | 146 | doc/numconvert.1.in \ |
| 147 | doc/posixregex.1.in \ | ||
| 147 | include/dmsversion.h.in \ | 148 | include/dmsversion.h.in \ |
| 148 | include/gettext.h \ | 149 | include/gettext.h \ |
| 149 | lib/libdms.sym \ | 150 | lib/libdms.sym \ |
| @@ -225,6 +226,9 @@ doc/codetagger.1: Makefile $(srcdir)/doc/codetagger.1.in | |||
| 225 | doc/numconvert.1: Makefile $(srcdir)/doc/numconvert.1.in | 226 | doc/numconvert.1: Makefile $(srcdir)/doc/numconvert.1.in |
| 226 | @$(do_subst_dt) | 227 | @$(do_subst_dt) |
| 227 | 228 | ||
| 229 | doc/posixregex.1: Makefile $(srcdir)/doc/posixregex.1.in | ||
| 230 | @$(do_subst_dt) | ||
| 231 | |||
| 228 | include/dmsversion.h: Makefile $(srcdir)/include/dmsversion.h.in | 232 | include/dmsversion.h: Makefile $(srcdir)/include/dmsversion.h.in |
| 229 | $(mkdir_p) include | 233 | $(mkdir_p) include |
| 230 | @$(do_subst_dt) | 234 | @$(do_subst_dt) |
diff --git a/dmstools.xcodeproj/project.pbxproj b/dmstools.xcodeproj/project.pbxproj index 16afbe0..57a2c43 100644 --- a/dmstools.xcodeproj/project.pbxproj +++ b/dmstools.xcodeproj/project.pbxproj | |||
| @@ -14,6 +14,7 @@ | |||
| 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 | A01FEF0311013417005CD0F8 /* bitops.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = bitops.1.in; sourceTree = "<group>"; }; |
| 16 | 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>"; }; |
| 17 | A01FEF0511013417005CD0F8 /* posixregex.1.in */ = {isa = PBXFileReference; explicitFileType = text.man; fileEncoding = 4; path = posixregex.1.in; sourceTree = "<group>"; }; | ||
| 17 | A02133F00E0E4C9C00336FDD /* acinclude.m4 */ = {isa = PBXFileReference; explicitFileType = text.script.sh; fileEncoding = 4; indentWidth = 8; path = acinclude.m4; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | 18 | A02133F00E0E4C9C00336FDD /* acinclude.m4 */ = {isa = PBXFileReference; explicitFileType = text.script.sh; fileEncoding = 4; indentWidth = 8; path = acinclude.m4; 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; }; | 19 | A02133F10E0E4CCE00336FDD /* AUTHORS */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = AUTHORS; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; |
| 19 | A02133F20E0E4CCE00336FDD /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; | 20 | A02133F20E0E4CCE00336FDD /* ChangeLog */ = {isa = PBXFileReference; fileEncoding = 4; indentWidth = 8; lastKnownFileType = text; path = ChangeLog; sourceTree = "<group>"; tabWidth = 8; usesTabs = 1; }; |
| @@ -97,6 +98,7 @@ | |||
| 97 | A01FEF0311013417005CD0F8 /* bitops.1.in */, | 98 | A01FEF0311013417005CD0F8 /* bitops.1.in */, |
| 98 | A02134D30E0E719000336FDD /* codetagger.1.in */, | 99 | A02134D30E0E719000336FDD /* codetagger.1.in */, |
| 99 | A01FEF0411013417005CD0F8 /* numconvert.1.in */, | 100 | A01FEF0411013417005CD0F8 /* numconvert.1.in */, |
| 101 | A01FEF0511013417005CD0F8 /* posixregex.1.in */, | ||
| 100 | ); | 102 | ); |
| 101 | path = doc; | 103 | path = doc; |
| 102 | sourceTree = "<group>"; | 104 | sourceTree = "<group>"; |
diff --git a/doc/codetagger.1.in b/doc/codetagger.1.in index a87d246..8b21bf0 100644 --- a/doc/codetagger.1.in +++ b/doc/codetagger.1.in | |||
| @@ -145,6 +145,7 @@ Report bugs to <@PACKAGE_BUGREPORT@>. | |||
| 145 | This is free software; see the source for copying conditions. There is NO | 145 | This is free software; see the source for copying conditions. There is NO |
| 146 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 146 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 147 | .SH "SEE ALSO" | 147 | .SH "SEE ALSO" |
| 148 | .BR posixregex (1), | ||
| 148 | .BR sed (1), | 149 | .BR sed (1), |
| 149 | .BR COPYING.tags | 150 | .BR COPYING.tags |
| 150 | .\" end of man page | 151 | .\" end of man page |
diff --git a/doc/posixregex.1.in b/doc/posixregex.1.in new file mode 100644 index 0000000..c2d5b87 --- /dev/null +++ b/doc/posixregex.1.in | |||
| @@ -0,0 +1,66 @@ | |||
| 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/posixregex.1.in - man page for posixregex | ||
| 17 | .\" | ||
| 18 | .TH "POSIXREGEX" "1" "@RELEASE_MONTH@" "@PACKAGE_TARNAME@ @PACKAGE_VERSION@" "User Commands" | ||
| 19 | .SH NAME | ||
| 20 | posixregex \- displays the result of two values after performing bitwise operations | ||
| 21 | .SH SYNOPSIS | ||
| 22 | \fBposixregex\fR [-r \fIregex\fR] \fIstring1 string2 ... stringN\fR | ||
| 23 | .sp | ||
| 24 | \fBposixregex\fR [\fB--help\fR | \fB-h\fR] [\fB--posixregex\fR | \fB-p\fR] [\fB--version\fR | \fB-V\fR] | ||
| 25 | |||
| 26 | .SH DESCRIPTION | ||
| 27 | The \fBposixregex\fR utility tests a regular expression against the specified | ||
| 28 | strings and displays the matched segments of the strings. | ||
| 29 | |||
| 30 | .SH OPTIONS | ||
| 31 | .TP | ||
| 32 | \fB\-h\fR, \fB--help\fR | ||
| 33 | Displays usage information and exits. | ||
| 34 | .TP | ||
| 35 | \fB\-p\fR, \fB--posixregex\fR | ||
| 36 | Print regular expression special patterns. | ||
| 37 | .TP | ||
| 38 | \fB\-q\fR, \fB--quiet\fR, \fB--silent\fR | ||
| 39 | displays verbose messages. | ||
| 40 | .TP | ||
| 41 | \fB\-r\fR | ||
| 42 | regular expression to use for testing strings | ||
| 43 | .TP | ||
| 44 | \fB\-V\fR, \fB--version\fR | ||
| 45 | displays version number and exits. | ||
| 46 | .TP | ||
| 47 | \fB\-v\fR, \fB--verbose\fR | ||
| 48 | do not print messages. | ||
| 49 | |||
| 50 | .SH "ENVIRONMENT VARIABLES" | ||
| 51 | .TP | ||
| 52 | \fBPOSIXREGEX\fR | ||
| 53 | default regular expression to use for testing strings | ||
| 54 | |||
| 55 | .SH "DIAGNOSTICS" | ||
| 56 | Normally, exit status is 0 if the strings match the regular expression and | ||
| 57 | 1 otherwise. | ||
| 58 | |||
| 59 | .SH "REPORTING BUGS" | ||
| 60 | Report bugs to David M. Syzdek <@PACKAGE_BUGREPORT@>. | ||
| 61 | |||
| 62 | .SH "SEE ALSO" | ||
| 63 | .BR bindump (1), | ||
| 64 | .BR codetagger (1), | ||
| 65 | .BR numconvert (1) | ||
| 66 | .\" end of man page | ||
