git: 421eebb4f8a3 - stable/12 - Update awk(1) manual to state an exception to egrep(1)-like RE syntax
Warner Losh
imp at FreeBSD.org
Sat Jul 10 17:12:47 UTC 2021
The branch stable/12 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=421eebb4f8a346e7f91a5fde31e67b4193f289ff
commit 421eebb4f8a346e7f91a5fde31e67b4193f289ff
Author: Devin Teske <dteske at FreeBSD.org>
AuthorDate: 2018-11-02 23:03:40 +0000
Commit: Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-07-10 17:11:14 +0000
Update awk(1) manual to state an exception to egrep(1)-like RE syntax
Reviewed by: imp, jmg
MFC after: 3 days
Sponsored by: Smule, Inc.
Differential Revision: https://reviews.freebsd.org/D17739
(cherry picked from commit e0ff4751f0a9757f0bfc776b5da5421f6294daf8)
---
contrib/one-true-awk/awk.1 | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/contrib/one-true-awk/awk.1 b/contrib/one-true-awk/awk.1
index b0d243b495cc..b2c36558fc83 100644
--- a/contrib/one-true-awk/awk.1
+++ b/contrib/one-true-awk/awk.1
@@ -352,9 +352,13 @@ Patterns are arbitrary Boolean combinations
of regular expressions and
relational expressions.
Regular expressions are as in
-.IR egrep ;
-see
-.IR grep (1).
+.IR egrep (1)
+except numeric quantifiers are not supported beyond the basic
+.B +
+and
+.B ?
+for quantities \&\f(CW"0 or 1"\fP and \&\f(CW"1 or more"\fP
+respectively.
Isolated regular expressions
in a pattern apply to the entire line.
Regular expressions may also occur in
More information about the dev-commits-src-all
mailing list