Date: Wed, 5 Oct 2022 17:06:11 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 070e8d36d9b3 - main - grep: Add quotes in manpage when using wildcards with --include Message-ID: <202210051706.295H6BRr092209@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=070e8d36d9b3edee4d8b36cdf9745b9af239dce6 commit 070e8d36d9b3edee4d8b36cdf9745b9af239dce6 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2022-10-05 17:04:52 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2022-10-05 17:05:52 +0000 grep: Add quotes in manpage when using wildcards with --include Examples uses --include=*.h which doesn't work as intended Approved by: kevans Differential Revision: https://reviews.freebsd.org/D36883 --- usr.bin/grep/grep.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/grep/grep.1 b/usr.bin/grep/grep.1 index 3312f2510d30..36fcbf868984 100644 --- a/usr.bin/grep/grep.1 +++ b/usr.bin/grep/grep.1 @@ -515,11 +515,11 @@ Do the search recursively from the .Pa /usr/src/sys/arm directory .Pp -.Dl $ grep -H -R FIXME --include=*.h /usr/src/sys/arm/ +.Dl $ grep -H -R FIXME --include="*.h" /usr/src/sys/arm/ .It Same as above but show only the name of the matching file: .Pp -.Dl $ grep -l -R FIXME --include=*.h /usr/src/sys/arm/ +.Dl $ grep -l -R FIXME --include="*.h" /usr/src/sys/arm/ .It Show lines containing the text .Sq foo .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210051706.295H6BRr092209>