diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-07-09 13:36:00 +0000 |
commit | 078c2448197a826265f74828b3159d758f1f0ceb (patch) | |
tree | ef3b0d7b2b6fcf1328ac8953d9e2abf6431093ea /lib/libcompat/4.3/re_comp.3 | |
parent | 3610cb2f5b1eeb5e599fcca418780b43c2f30b6d (diff) |
- remove all trailing whitespace
* except when it is escaped with a `\' at the end of the line
- fix remaining .Nm usage as well
- this is from a patch I received from kwesterback@home.com, who has been
working on some scripts for fixing formatting errors in mdoc'd man pages
Ok, so there could be a cost/benefit debate with this commit, but since I have
the patch we might as well commit it...
Diffstat (limited to 'lib/libcompat/4.3/re_comp.3')
-rw-r--r-- | lib/libcompat/4.3/re_comp.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libcompat/4.3/re_comp.3 b/lib/libcompat/4.3/re_comp.3 index d10ef653765..10f2bb42906 100644 --- a/lib/libcompat/4.3/re_comp.3 +++ b/lib/libcompat/4.3/re_comp.3 @@ -54,7 +54,7 @@ It is available from the compatibility library, libcompat. The .Fn re_comp function -compiles a string into an internal form suitable for pattern matching. +compiles a string into an internal form suitable for pattern matching. The .Fn re_exec function @@ -67,7 +67,7 @@ function returns 0 if the string .Fa s was compiled successfully; otherwise a string containing an -error message is returned. If +error message is returned. If .Fn re_comp is passed 0 or a null string, it returns without changing the currently compiled regular expression. @@ -86,10 +86,10 @@ The strings passed to both .Fn re_comp and .Fn re_exec -may have trailing or embedded newline characters; +may have trailing or embedded newline characters; they are terminated by .Dv NUL Ns s. -The regular expressions recognized are described in the manual entry for +The regular expressions recognized are described in the manual entry for .Xr ed 1 , given the above difference. .Sh DIAGNOSTICS @@ -122,5 +122,5 @@ The .Fn re_comp and .Fn re_exec -functions appeared in +functions appeared in .Bx 4.0 . |