SYNTAX

    match [options] <pattern>


OPTIONS

-h (--help) bool

Display help.

-i (--ignore-case) bool

Ignore case distinctions.

-v (--invert-match) bool

Print lines that do not match.

-c (--count) bool

Don't print the lines that match, just count them and print the total at the end. If used with --invert-match, counts the number of non-matching lines.


ARGUMENTS

<pattern>

The pattern to be matched. Symbian descriptor wild characters supported. [string]


DESCRIPTION

Print to stdout any lines of stdin that match a particular pattern.

Note, does not support regular expressions, only Symbian's descriptor wild characters (aka TDesC::Match(). Since these don't explicitly support anchoring (functionality provided by ^ and $ in regular expressions) if you want to match an word within a line you need to put * characters at either end of the pattern string. If you don't, then the match will be implicitly anchored to either end of the line.


SEE ALSO

grep


COPYRIGHT

Copyright (c) 2006-2010 Accenture. All rights reserved.