You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: completions/bash/ug
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -255,6 +255,7 @@ cat <<'END'
255
255
--exclude-fs=MOUNTS Exclude file systems specified by MOUNTS from recursive searches.
256
256
-F, --fixed-strings Interpret pattern as a set of fixed strings, separated by newlines, any of which is to be matched.
257
257
-f FILE, --file=FILE Read newline-separated patterns from FILE.
258
+
--files, -%% Boolean file matching mode, the opposite of --lines.
258
259
--filter=COMMANDS Filter files through the specified COMMANDS first before searching.
259
260
--filter-magic-label=[+]LABEL:MAGIC Associate LABEL with files whose signature "magic bytes" match the MAGIC regex pattern.
260
261
--format=FORMAT Output FORMAT-formatted matches.
@@ -293,8 +294,10 @@ cat <<'END'
293
294
--lines Boolean line matching mode for option --bool, the default mode.
294
295
-M MAGIC, --file-magic=MAGIC Only search files matching the magic signature pattern MAGIC.
295
296
-m [MIN,][MAX], --min-count=MIN, --max-count=MAX Require MIN matches, stop after MAX matches when specified.
296
-
--match Match all input.
297
+
--match Match all lines.
297
298
--max-files=NUM Restrict the number of files matched to NUM.
299
+
--max-size=MAX Only search files whose physical size does not exceed MAX bytes.
300
+
--min-size=MIN Only search files whose physical size equals or exceeds MIN bytes.
298
301
--mmap[=MAX] Use memory maps to search files.
299
302
-N PATTERN, --neg-regexp=PATTERN Specify a negative PATTERN to reject specific -e PATTERN matches with a counter pattern.
300
303
-n, --line-number Each output line is preceded by its relative line number in the file, starting at line 1.
@@ -304,7 +307,6 @@ cat <<'END'
304
307
-O EXTENSIONS, --file-extension=EXTENSIONS Only search files whose filename extensions match the specified comma-separated list of EXTENSIONS, same as -g *.ext for each
305
308
-o, --only-matching Only the matching part of a pattern match is output.
306
309
--only-line-number Only the line number of a matching line is output.
307
-
--files, -%% Boolean file matching mode, the opposite of --lines.
308
310
-P, --perl-regexp Interpret PATTERN as a Perl regular expression using PCRE2.
309
311
-p, --no-dereference If -R or -r is specified, do not follow symbolic links, even when symbolic links are specified on the command line.
310
312
--pager[=COMMAND] When output is sent to the terminal, uses COMMAND to page through the output.
0 commit comments