summaryrefslogtreecommitdiff
path: root/lib/libcompat
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 09:38:58 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-06-02 09:38:58 +0000
commita6bbce2b527efbc0673ad18f22c02c7777b0747f (patch)
tree8eb0f29d011b5c282d935702edc15973d5843eb9 /lib/libcompat
parent4d27737a2c993ac87ab49687358e27521180a6ea (diff)
sort some macros, sort .Xr's
Diffstat (limited to 'lib/libcompat')
-rw-r--r--lib/libcompat/regexp/regexp.311
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libcompat/regexp/regexp.3 b/lib/libcompat/regexp/regexp.3
index 8865b06d2e4..8fa454c340d 100644
--- a/lib/libcompat/regexp/regexp.3
+++ b/lib/libcompat/regexp/regexp.3
@@ -1,3 +1,4 @@
+.\" $OpenBSD: regexp.3,v 1.7 2003/06/02 09:38:57 jmc Exp $
.\" Copyright (c) 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -75,7 +76,7 @@ and returns a pointer to it.
The space has been allocated using
.Xr malloc 3
and may be released by
-.Xr free .
+.Xr free 3 .
.Pp
The
.Fn regexec
@@ -299,7 +300,7 @@ were written at the University of Toronto
and appeared in
.Bx 4.3 tahoe .
They are intended to be compatible with the Bell V8
-.Xr regexp 3 ,
+.Fn regexp ,
but are not derived from Bell code.
.Sh BUGS
Empty branches and empty regular expressions are not portable to V8.
@@ -309,10 +310,12 @@ applying `*' or `+' to a possibly NULL operand is an artifact of the
simplistic implementation.
.Pp
Does not support
-.Xr egrep Ns 's
+.Eo
+.Xr egrep 1
+.Ec 's
newline-separated branches;
neither does the V8
-.Xr regexp 3 ,
+.Fn regexp
though.
.Pp
Due to emphasis on