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
This commit is contained in:
parent
d63104d253
commit
070e8d36d9
@ -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 .
|
||||
|
Loading…
Reference in New Issue
Block a user