refer to re_format(7) for BSDs - sbase - suckless unix tools | |
git clone git://git.suckless.org/sbase | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit df50727a08e3bf97a73dc42df3e15a1c21a339a8 | |
parent 8dfcbf23b0b767f941d55364d8aff9785b7e91a5 | |
Author: Greg Reagle <[email protected]> | |
Date: Wed, 11 Aug 2021 11:47:04 -0400 | |
refer to re_format(7) for BSDs | |
Diffstat: | |
M grep.1 | 6 ++++-- | |
M nl.1 | 3 ++- | |
2 files changed, 6 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/grep.1 b/grep.1 | |
@@ -16,7 +16,8 @@ | |
searches the input files for lines that match the | |
.Ar pattern , | |
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. | |
If no | |
.Ar file | |
@@ -83,7 +84,8 @@ An error occurred. | |
.El | |
.Sh SEE ALSO | |
.Xr sed 1 , | |
-.Xr regex 7 | |
+.Xr regex 7 , | |
+.Xr re_format 7 | |
.Sh STANDARDS | |
The | |
.Nm | |
diff --git a/nl.1 b/nl.1 | |
@@ -63,7 +63,8 @@ This is the default. | |
Only lines matching | |
.Ar expr | |
according to | |
-.Xr regex 7 . | |
+.Xr regex 7 or | |
+.Xr re_format 7 . | |
.El | |
.It Fl d Ar delim | |
Set |