refer to re_format(7) for BSDs

This commit is contained in:
Greg Reagle 2021-08-11 11:47:04 -04:00 committed by Michael Forney
parent 8dfcbf23b0
commit df50727a08
2 changed files with 6 additions and 3 deletions

6
grep.1
View File

@ -16,7 +16,8 @@
searches the input files for lines that match the searches the input files for lines that match the
.Ar pattern , .Ar pattern ,
a regular expression as defined in a regular expression as defined in
.Xr regex 7 . .Xr regex 7 or
.Xr re_format 7 .
By default each matching line is printed to stdout. By default each matching line is printed to stdout.
If no If no
.Ar file .Ar file
@ -83,7 +84,8 @@ An error occurred.
.El .El
.Sh SEE ALSO .Sh SEE ALSO
.Xr sed 1 , .Xr sed 1 ,
.Xr regex 7 .Xr regex 7 ,
.Xr re_format 7
.Sh STANDARDS .Sh STANDARDS
The The
.Nm .Nm

3
nl.1
View File

@ -63,7 +63,8 @@ This is the default.
Only lines matching Only lines matching
.Ar expr .Ar expr
according to according to
.Xr regex 7 . .Xr regex 7 or
.Xr re_format 7 .
.El .El
.It Fl d Ar delim .It Fl d Ar delim
Set Set