.\" $Header: /aolnet/dev/src/CVS/sgml/docbook-to-man/cmd/docbook-to-man.sh,v 1.1.1.1 1998/11/13 21:31:59 db3l Exp $ .\" .\" transcript compatibility for postscript use. .\" .\" synopsis: .P! .\" .de P! .fl \!!1 setgray .fl \\&.\" .fl \!!0 setgray .fl \" force out current output buffer \!!save /psv exch def currentpoint translate 0 0 moveto \!!/showpage{}def .fl \" prolog .sy sed \-e 's/^/!/' \\$1\" bring in postscript file \!!psv restore . .de pF .ie \\*(f1 .ds f1 \\n(.f .el .ie \\*(f2 .ds f2 \\n(.f .el .ie \\*(f3 .ds f3 \\n(.f .el .ie \\*(f4 .ds f4 \\n(.f .el .tm ? font overflow .ft \\$1 .. .de fP .ie !\\*(f4 \{\ . ft \\*(f4 . ds f4\" ' br \} .el .ie !\\*(f3 \{\ . ft \\*(f3 . ds f3\" ' br \} .el .ie !\\*(f2 \{\ . ft \\*(f2 . ds f2\" ' br \} .el .ie !\\*(f1 \{\ . ft \\*(f1 . ds f1\" ' br \} .el .tm ? font underflow .. .ds f1\" .ds f2\" .ds f3\" .ds f4\" '\" t .ta 8n 16n 24n 32n 40n 48n 56n 64n 72n .TH "anxgrep" "1" .SH "NAME" anxgrep \(em Search for PATTERN in each annodex FILE or standard input. .SH "SYNOPSIS" .PP \fBanxgrep\fR [-E | --extended-regexp ] [-G | --basic-regexp ] [-i | --ignore-case ] [-v | --invert-match ] [-o \fBfilename\fR | --output \fBfilename\fR ] [--label \fBLABEL\fR ] [-q | --quiet | --silent ] [-L | --files-without-match ] [-l | --files-with-matches ] [-c | --count ] [-h | --help ] [--version ] filename .SH "Description" .PP \fBanxgrep\fR searches the CMML tracks of Annodex FILEs (or standard input if no files are named, or the file name - is given) for elements containing a match to the given PATTERN. By default, \fBanxgrep\fR prints the matching elements. .SH "Options" .PP \fBanxgrep\fR accepts the following options: .SS "Regexp selection and interpretation" .IP "-E, --extended-regexp" 10 PATTERN is an extended regular expression .IP "-G, --basic-regexp" 10 PATTERN is a basic regular expression .IP "-i, --ignore-case" 10 Ignore case distinctions .IP "-v, --invert-match" 10 Select non-matching elements .SS "CMML options" .IP "--head" 10 Search only the CMML head element of each file (ignore clips) .IP "--meta" 10 Search only meta elements (ignore clip descriptions) .SS "Output options" .IP "-o \fBfilename\fR, --output \fBfilename\fR" 10 Write output to the specified \fBfilename\fR instead of printing it to standard output. .IP "--label \fBLABEL\fR" 10 Print \fBLABEL\fR as the filename for standard input. .IP "-q, --quiet, --silent" 10 Suppress all normal output .IP "-L, --files-without-match" 10 Only print FILE names containing no match .IP "-l, --files-with-matches" 10 Only print FILE names containing matches .IP "-c, --count" 10 Only print a count of matching lines per FILE .SS "Miscellaneous options" .IP "-h, --help" 10 Display usage information and exit. .IP "--version" 10 Output version information and exit. .SH "AUTHOR" .PP Conrad Parker March 2, 2005; .SH "COPYRIGHT" .PP Copyright \(co 2005 CSIRO Australia .SH "SEE ALSO" .PP \fBgrep\fP\fB(1)\fP \fBanxrip\fP\fB(1)\fP .PP More information is available at \fIAnnodex.net (link to URL http://www.annodex.net/) \fR .\" created by instant / docbook-to-man, Wed 02 Mar 2005, 17:14