cli helper. grep: search a file for a pattern
[english] [
русский
]
Main
Docs
News
About project
Contact
Contact
Linux grep
Binary
Solaris /usr/bin/grep
Solaris /usr/xpg4/bin/grep
Linux grep
Print the version number of grep
Regular expression patern
Several regular expression paterns
File(s) with paterns
How to use patern
Matches using limited regular expressions
Matches using full regular expressions
Matches using fixed strings
Interpret PATTERN as a Perl regular expression
Ignores upper/lower case distinction during comparisons
Select only those lines containing matches that form whole words
Match only lines that use all characters in patern
Input data from
From STDIN
Skip files whose base name matches
Skip files whose base name matches any of the file-name globs read from this file
Exclude directories from recursive searches
Search only files whose base name matches
Read all files under each directory, recursively
Display input actually coming from standard input as input coming from this file
If an input file is a directory then
READ
SKIP
RECURSE
If an input file is a device, FIFO or socket then
READ
SKIP
How to Process a binary file
Process a binary file as if it did not contain matching data
Process a binary file as if it were text
Treat the input as a set of lines, each terminated by a zero byte
How to print result
Prints the matching lines
Prints only a count of the lines that contain the pattern
Prints only the names of files with matching lines
Prints only the names of files without matching lines
Quiet. Does not write anything to the standard output, regardless of matching lines
How to print the file name for each match
Print the file name for each match. Default when there is more than one file to search
Suppress output of file names. Default when there is only one file (or STDIN) to search
Precedes each line by its line number in the file (first line is 1)
Prints all lines except those that contain the pattern
Print only the matched (non-empty) parts of a matching line
Suppresses error messages about nonexistent or unreadable files
Print the 0-based byte offset within the input file before each line of output
Output a zero byte instead of the character that normally follows a file name
Stop reading a file after NUM matching lines
Print NUM lines of trailing context after matching lines
Print NUM lines of leading context before matching lines
Print NUM lines of output context
Make sure that the first character of actual line content lies on a tab stop, so that the alignment of tabs looks normal
Report Unix-style byte offsets. Only for Windows and MS-DOS
Use line buffering on output
Use the system call <b>mmap</b> to read input (instead of the default <b>read</b> system call)
Treat the file(s) as binary
clihelper.com © 2008-2014