mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
grep: Default to -p instead of -S.
This matches the documented behavior in the manpage as well as the default behavior on macOS. PR: 280676 Reported by: Radosław Piliszek <radoslaw.piliszek@gmail.com> Reviewed by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D46256
This commit is contained in:
parent
77eb877714
commit
fc12c191c0
@ -112,7 +112,7 @@ int binbehave = BINFILE_BIN; /* -aIU: handling of binary files */
|
||||
int filebehave = FILE_STDIO;
|
||||
int devbehave = DEV_READ; /* -D: handling of devices */
|
||||
int dirbehave = DIR_READ; /* -dRr: handling of directories */
|
||||
int linkbehave = LINK_READ; /* -OpS: handling of symlinks */
|
||||
int linkbehave = LINK_SKIP; /* -OpS: handling of symlinks */
|
||||
|
||||
bool dexclude, dinclude; /* --exclude-dir and --include-dir */
|
||||
bool fexclude, finclude; /* --exclude and --include */
|
||||
|
Loading…
Reference in New Issue
Block a user