GetFileLineMatchesCmdFlags Enumeration
|
Flags for the grep command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.1.261.8274
Syntax[FlagsAttribute]
public enum GetFileLineMatchesCmdFlags
<FlagsAttribute>
Public Enumeration GetFileLineMatchesCmdFlags
[FlagsAttribute]
public enum class GetFileLineMatchesCmdFlags
[<FlagsAttribute>]
type GetFileLineMatchesCmdFlags
Members
| Member name | Value | Description |
---|
| None | 0 |
No flags.
|
| AllRevisions | 1 |
The -a flag searches all revisions within the specified
range. By default only the highest revision in the range
is searched.
|
| CaseInsensitive | 2 |
The -i flag causes the pattern matching to be case-insensitive.
By default, matching is case-sensitive.
|
| IncludeLineNumbers | 4 |
The -n flag displays the matching line number after the file
revision number. By default, matches are displayed as
revision#: <text>.
|
| NonMatchingLines | 8 |
The -v flag displays files with non-matching lines.
|
| SearchBinaries | 16 |
The -t flag searches binary files. By default, only text files
are searched.
|
| NameNoOutput | 32 |
The -L flag displays the name of each selected file from which no
output would normally have been displayed. Scanning stops on the
first match.
|
| NameMatchingText | 64 |
The -l flag display the name of each selected file containing
matching text. Scanning stops on the first match.
|
| Supress | 128 |
The -s flag suppresses error messages that result from abandoning
files that have a maximum number of characters in a single line that
are greater than 4096. By default, an error is reported when grep
abandons such files.
|
| FixedPattern | 256 |
The -F flag is used to interpret the pattern as a fixed string.
|
| RegularExpression | 512 |
The -G flag is used to interpret the pattern as a regular expression.
|
See Also