| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.1.7 Other Options
- ‘--line-buffered’
-
Use line buffering on output. This can cause a performance penalty.
- ‘-U’
- ‘--binary’
-
Treat the file(s) as binary. By default, under MS-DOS and MS-Windows,
grepguesses whether a file is text or binary as described for the ‘--binary-files’ option. Ifgrepdecides the file is a text file, it strips theCRcharacters from the original file contents (to make regular expressions with^and$work correctly). Specifying ‘-U’ overrules this guesswork, causing all files to be read and passed to the matching mechanism verbatim; if the file is a text file withCR/LFpairs at the end of each line, this will cause some regular expressions to fail. This option has no effect on platforms other than MS-DOS and MS-Windows. - ‘-z’
- ‘--null-data’
-
Treat the input as a set of lines, each terminated by a zero byte (the ASCII
NULcharacter) instead of a newline. Like the ‘-Z’ or ‘--null’ option, this option can be used with commands like ‘sort -z’ to process arbitrary file names.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on June 7, 2014 using texi2html 5.0.
