summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2006-10-11 09:52:32 +0000
committertrhodes <trhodes@FreeBSD.org>2006-10-11 09:52:32 +0000
commitcb84ecb15c7ac8cfa5aa1c658aa270128025b413 (patch)
tree56a7ad0f6cbd75ce6de6ead68a0bee8a1b781e80
parent6348fa8440bda4feb30ba9590d99cf0d671b37da (diff)
downloadFreeBSD-src-cb84ecb15c7ac8cfa5aa1c658aa270128025b413.zip
FreeBSD-src-cb84ecb15c7ac8cfa5aa1c658aa270128025b413.tar.gz
Add the -P option back, but with a note that it is not supported on FreeBSD.
Requested by: ru
-rw-r--r--gnu/usr.bin/grep/grep.16
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/grep/grep.1 b/gnu/usr.bin/grep/grep.1
index 7736f80..877dd25 100644
--- a/gnu/usr.bin/grep/grep.1
+++ b/gnu/usr.bin/grep/grep.1
@@ -202,6 +202,12 @@ Interpret
as a list of fixed strings, separated by newlines,
any of which is to be matched.
.TP
+.BR \-P ", " \-\^\-perl-regexp
+Interpret
+.I PATTERN
+as a Perl regular expression.
+This option is not supported in FreeBSD.
+.TP
.BI \-f " FILE" "\fR,\fP \-\^\-file=" FILE
Obtain patterns from
.IR FILE ,
OpenPOWER on IntegriCloud