Deleted Added
full compact
1c1
< .\" $FreeBSD: head/usr.bin/grep/grep.1 210426 2010-07-23 17:42:42Z gabor $
---
> .\" $FreeBSD: head/usr.bin/grep/grep.1 210578 2010-07-29 00:11:14Z gabor $
32c32
< .Dd September 19, 2009
---
> .Dd July 28, 2010
189,192c189,200
< If
< .Fl R
< is specified, it excludes files matching the given
< filename pattern.
---
> If specified, it excludes files matching the given
> filename pattern from the search.
> Note that
> .Fl Fl exclude
> patterns take priority over
> .Fl Fl include
> patterns, and if no
> .Fl Fl include
> pattern is specified, all files are searched that are
> not excluded.
> Patterns are matched to the full path specified,
> not only to the filename component.
197c205,213
< given filename pattern.
---
> given filename pattern from the search.
> Note that
> .Fl Fl exclude-dir
> patterns take priority over
> .Fl Fl include-dir
> patterns, and if no
> .Fl Fl include-dir
> pattern is specified, all directories are searched that are
> not excluded.
241,244c257,265
< If
< .Fl R
< is specified, it includes the files matching the
< given filename pattern.
---
> If specified, only files matching the
> given filename pattern are searched.
> Note that
> .Fl Fl exclude
> patterns take priority over
> .Fl Fl include
> patterns.
> Patterns are matched to the full path specified,
> not only to the filename component.
248,249c269,275
< is specified, it includes the directories matching the
< given filename pattern.
---
> is specified, only directories matching the
> given filename pattern are searched.
> Note that
> .Fl Fl exclude-dir
> patterns take priority over
> .Fl Fl include-dir
> patterns.