Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/tre/bin Sort option descriptions. Use Mt.
details: https://anonhg.NetBSD.org/src/rev/47d6b1708bc0
branches: trunk
changeset: 345834:47d6b1708bc0
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Jun 10 08:03:26 2016 +0000
description:
Sort option descriptions. Use Mt.
diffstat:
external/bsd/tre/bin/agrep.1 | 60 ++++++++++++++++++++++----------------------
1 files changed, 30 insertions(+), 30 deletions(-)
diffs (126 lines):
diff -r c802da0c28be -r 47d6b1708bc0 external/bsd/tre/bin/agrep.1
--- a/external/bsd/tre/bin/agrep.1 Fri Jun 10 07:50:15 2016 +0000
+++ b/external/bsd/tre/bin/agrep.1 Fri Jun 10 08:03:26 2016 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: agrep.1,v 1.2 2016/06/10 05:11:17 agc Exp $
+.\" $NetBSD: agrep.1,v 1.3 2016/06/10 08:03:26 wiz Exp $
.Dd January 29, 2015
.Dt AGREP 1
.Os
@@ -51,9 +51,19 @@
.El
.Ss Approximate matching settings
.Bl -tag -width 10n
+.It Fl Ns Ar #
+Select records that have at most
+.Ar #
+errors
+.Ar ( #
+is a digit between 0 and 9).
.It Fl D Ar num , Fl Fl delete-cost= Ns Ar num
Set cost of missing characters to
.Ar num .
+.It Fl E num , Fl Fl max-errors= Ns Ar num
+Select records that have at most
+.Ar num
+errors.
.It Fl I Ar num , Fl Fl insert-cost= Ns Ar num
Set cost of extra characters to
.Ar num .
@@ -66,16 +76,6 @@
Thus, if the const of a substitution is set to be larger than the
sum of the costs of deletion and insertion, direct substitutions
will never be done.
-.It Fl E num , Fl Fl max-errors= Ns Ar num
-Select records that have at most
-.Ar num
-errors.
-.It Fl Ns Ar #
-Select records that have at most
-.Ar #
-errors
-.Ar ( #
-is a digit between 0 and 9).
.El
.Ss Miscellaneous
.Bl -tag -width 10n
@@ -93,19 +93,19 @@
For example, using
.Fl d Ar \"^From \"
defines mail messages as records in a Mailbox format file.
-.It Fl v , Fl Fl invert-match
-Select non-matching records instead of matching records.
-.It Fl V , Fl Fl version
-Print version information and exit.
+.It Fl Fl help
+Display a brief help message and exit.
.It Fl r , Fl Fl recursive
If a directory is given as one of the command line arguments,
look in every directory entry in the subdirectory, recursively.
+.It Fl V , Fl Fl version
+Print version information and exit.
+.It Fl v , Fl Fl invert-match
+Select non-matching records instead of matching records.
.It Fl y , Fl Fl nothing
Does nothing.
This options exists only for compatibility with the
non-free agrep program.
-.It Fl Fl help
-Display a brief help message and exit.
.El
.Ss Output control
.Bl -tag -width 10n
@@ -123,16 +123,25 @@
.It Fl c , Fl Fl count
Only print a count of matching records per each input file,
suppressing normal output.
+.It Fl H , Fl Fl with-filename
+Prefix each output record with the name of the input file where the
+record was read from.
.It Fl h , Fl Fl no-filename
Suppress the prefixing filename on output when multiple files are
searched.
-.It Fl H , Fl Fl with-filename
-Prefix each output record with the name of the input file where the
-record was read from.
.It Fl l , Fl Fl files-with-matches
Only print the name of each input file which contains at least one
match, suppressing normal output.
The scanning for each file will stop on the first match.
+.It Fl M , Fl Fl delimiter-after
+By default, the record delimiter is the newline character and is
+output after the matching record.
+If
+.Fl d
+is used, the record delimiter will be output before the matching
+record.
+This option causes the delimiter to be output after the
+matching record.
.It Fl n , Fl Fl record-number
Prefix each output record with its sequence number in the input file.
The number of the first record is 1.
@@ -147,15 +156,6 @@
The offset of the first character of the record is 0.
The end position is given as the offset of the first
character after the match.
-.It Fl M , Fl Fl delimiter-after
-By default, the record delimiter is the newline character and is
-output after the matching record.
-If
-.Fl d
-is used, the record delimiter will be output before the matching
-record.
-This option causes the delimiter to be output after the
-matching record.
.El
.Pp
With no
@@ -199,7 +199,7 @@
is a POSIX extended regular expression (ERE) with the TRE extensions.
.Sh REPORTING BUGS
Report bugs to the TRE mailing list
-.Aq tre-general%lists.laurikari.net@localhost .
+.Aq Mt tre-general%lists.laurikari.net@localhost .
.Sh COPYRIGHT
Copyright \(co 2002-2004 Ville Laurikari.
.Pp
Home |
Main Index |
Thread Index |
Old Index