1anxgrep(1) General Commands Manual anxgrep(1)
2
3
4
6 anxgrep — Search for PATTERN in each annodex FILE or standard input.
7
8
10 anxgrep [-E | --extended-regexp ] [-G | --basic-regexp ] [-i |
11 --ignore-case ] [-v | --invert-match ] [-o filename | --output
12 filename ] [--label LABEL ] [-q | --quiet | --silent ] [-L |
13 --files-without-match ] [-l | --files-with-matches ] [-c | --count
14 ] [-h | --help ] [--version ] filename
15
17 anxgrep searches the CMML tracks of Annodex FILEs (or standard input if
18 no files are named, or the file name - is given) for elements contain‐
19 ing a match to the given PATTERN. By default, anxgrep prints the match‐
20 ing elements.
21
22
24 anxgrep accepts the following options:
25
26
27 Regexp selection and interpretation
28 -E, --extended-regexp
29 PATTERN is an extended regular expression
30
31 -G, --basic-regexp
32 PATTERN is a basic regular expression
33
34 -i, --ignore-case
35 Ignore case distinctions
36
37 -v, --invert-match
38 Select non-matching elements
39
40 CMML options
41 --head Search only the CMML head element of each file (ignore clips)
42
43 --meta Search only meta elements (ignore clip descriptions)
44
45 Output options
46 -o filename, --output filename
47 Write output to the specified filename instead of printing it
48 to standard output.
49
50 --label LABEL
51 Print LABEL as the filename for standard input.
52
53 -q, --quiet, --silent
54 Suppress all normal output
55
56 -L, --files-without-match
57 Only print FILE names containing no match
58
59 -l, --files-with-matches
60 Only print FILE names containing matches
61
62 -c, --count
63 Only print a count of matching lines per FILE
64
65 Miscellaneous options
66 -h, --help
67 Display usage information and exit.
68
69 --version Output version information and exit.
70
72 Conrad Parker March 2, 2005;
73
75 Copyright © 2005 CSIRO Australia
76
77
79 grep(1) anxrip(1)
80
81 More information is available at Annodex.net (link to URL
82 http://www.annodex.net/)
83
84
85
86 anxgrep(1)