-L, --files-without-match print only names of FILEs containing no match -l, --files-with-matches print only names of FILEs containing matches -c,--countprint only a count of matching lines per FILE -T, --initial-tabmaketabs line up(if needed)-Z,--nullprint0byte after FILE name Con...
-L, --files-without-match print only names of FILEs containing no match -l, --files-with-matches print only names of FILEs containing matches -c, --count print only a count of matching lines per FILE -T, --initial-tab make tabs line up (if needed) -Z, --null print 0 byte after...
--files-with-matches print only names of FILEs with selected lines-c, --count print only a count of selected lines per FILE-T, --initial-tab make tabs line up (ifneeded)-Z, --nullprint0byteafter FILE name
Regexp selectionandinterpretation: // 正则表达式选择和解释-E,--extended-regexp PATTERN is an extended regular expression (ERE)-F,--fixed-strings PATTERN is a set of newline-separated strings-G,--basic-regexp PATTERN is a basic regular expression (BRE)-P,--perl-regexp PATTERN is a Perl ...
-l, --files-with-matches print only names of FILEs containing matches -c, --count print only a count of matching lines per FILE -T, --initial-tab make tabs line up (if needed) -Z, --null print 0 byte after FILE name Context control: ...
-l --file-with-matches #列出文件内容符合指定的样式的文件名称。 -L --files-without-match #列出文件内容不符合指定的样式的文件名称。 -n --line-number #在显示符合样式的那一行之前,标示出该行的列数编号。 -q --quiet或--silent #不显示任何信息。
-l, --files-with-matches print only names of FILEs containing matches -c, --count print only a count of matching lines per FILE -T, --initial-tab make tabs line up (if needed) -Z, --null print 0 byte after FILE name Context control: ...
-m <NUM>, --max-count <NUM> Limit the number of matching lines per file searched to NUM. --max-depth <NUM> Limit the depth of directory traversal to NUM levels beyond the paths given. --max-filesize <NUM+SUFFIX?> Ignore files larger than NUM in size. This does not apply to dire...
-f FILE, --file=FILE Obtain patterns from FILE, one per line. If this option is used multiple times or is combined with the -e (--regexp) option, search for all patterns given. The empty file contains zero patterns, and therefore matches nothing. -i, --ignore-case Ignore case dist...
this help text and exitOutput control:-m,--max-count=NUM stop after NUM matches-b,--byte-offset print the byte offset with output lines-n,--line-number print line number with output lines--line-buffered flush output on every line-H,--with-filename print the file name for each match-...