Click or drag to resize

GetFileLineMatchesCmdFlags Enumeration

Flags for the grep command.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
[FlagsAttribute]
public enum GetFileLineMatchesCmdFlags
Members
  Member nameValueDescription
None0 No flags.
AllRevisions1 The -a flag searches all revisions within the specified range. By default only the highest revision in the range is searched.
CaseInsensitive2 The -i flag causes the pattern matching to be case-insensitive. By default, matching is case-sensitive.
IncludeLineNumbers4 The -n flag displays the matching line number after the file revision number. By default, matches are displayed as revision#: <text>.
NonMatchingLines8 The -v flag displays files with non-matching lines.
SearchBinaries16 The -t flag searches binary files. By default, only text files are searched.
NameNoOutput32 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.
NameMatchingText64 The -l flag display the name of each selected file containing matching text. Scanning stops on the first match.
Supress128 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.
FixedPattern256 The -F flag is used to interpret the pattern as a fixed string.
RegularExpression512 The -G flag is used to interpret the pattern as a regular expression.
See Also