anxgrep(1)

anxgrep1

Search for pattern in each annodex file or standard input.

Usage

anxgrep [{-E | --extended-regexp}] [{-G | --basic-regexp}] [{-i | --ignore-case}] [{-v | --invert-match}] [{-o filename | --output filename}] [--label LABEL] [{-q | --quiet | --silent}] [{-L | --files-without-match}] [{-l | --files-with-matches}] [{-c | --count}] [{-h | --help}] [--version] filename

Overview

anxgrep 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, anxgrep prints the matching elements.

Options

anxgrep accepts the following options:

Regexp selection and interpretation

-E, --extended-regexp

PATTERN is an extended regular expression

-G, --basic-regexp

PATTERN is a basic regular expression

-i, --ignore-case

Ignore case distinctions

-v, --invert-match

Select non-matching elements

CMML options

--head

Search only the CMML head element of each file (ignore clips)

--meta

Search only meta elements (ignore clip descriptions)

Output options

-o filename, --output filename

Write output to the specified filename instead of printing it to standard output.

--label LABEL

Print LABEL as the filename for standard input.

-q, --quiet, --silent

Suppress all normal output

-L, --files-without-match

Only print FILE names containing no match

-l, --files-with-matches

Only print FILE names containing matches

-c, --count

Only print a count of matching lines per FILE

Miscellaneous options

-h, --help

Display usage information and exit.

--version

Output version information and exit.

Releases

Unchanged in 2 releases since Debian 4.0 (Etch).

  1. 4.0–5.0

Author

Conrad Parker March 2, 2005;

From annodex-tools 0.7.3-3.1 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.