Skip to content

Commit

Permalink
For the pcre2demo man page, put the source code in its own section ra…
Browse files Browse the repository at this point in the history
…ther than everything under NAME
  • Loading branch information
PhilipHazel committed Jan 6, 2024
1 parent 72d9deb commit 7b649dc
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 36 deletions.
7 changes: 5 additions & 2 deletions PrepareRelease
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,10 @@ perl <<"END" >pcre2demo.3
print OUT ".TH PCRE2DEMO 3 \"", $t->strftime('%e %B %Y'), '" "', $version, "\"\n" .
".\\\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!\n" .
".SH NAME\n" .
"// - A demonstration C program for PCRE2 - //\n" .
".sp\n" .
"PCRE2DEMO - A demonstration C program for PCRE2\n" .
".SH \"SOURCE CODE\"\n" .
".rs\n" .
".sp\n" .
".\\\" Start example.\n" .
".de EX\n" .
". do ds mF \\\\n[.fam]\n" .
Expand Down Expand Up @@ -165,6 +167,7 @@ for file in *.3 ; do
if [ `expr $base : '.*_'` -ne 0 ] ; then toc="" ; fi
if [ "$base" = "pcre2sample" ] || \
[ "$base" = "pcre2compat" ] || \
[ "$base" = "pcre2demo" ] || \
[ "$base" = "pcre2limits" ] || \
[ "$base" = "pcre2unicode" ] ; then
toc=""
Expand Down
5 changes: 3 additions & 2 deletions doc/html/pcre2demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ <h1>pcre2demo man page</h1>
automatically from the original man page. If there is any nonsense in it,
please consult the man page, in case the conversion went wrong.
<br>
<ul>
</ul>
<br><b>
SOURCE CODE
</b><br>
<PRE>
/*************************************************
* PCRE2 DEMONSTRATION PROGRAM *
Expand Down
60 changes: 30 additions & 30 deletions doc/pcre2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ REVISION

PCRE2 10.38 27 August 2021 PCRE2(3)
------------------------------------------------------------------------------



PCRE2API(3) Library Functions Manual PCRE2API(3)

Expand Down Expand Up @@ -3984,8 +3984,8 @@ REVISION

PCRE2 10.43 08 December 2023 PCRE2API(3)
------------------------------------------------------------------------------



PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3)

Expand Down Expand Up @@ -4610,8 +4610,8 @@ REVISION

PCRE2 10.43 24 November PCRE2BUILD(3)
------------------------------------------------------------------------------



PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3)

Expand Down Expand Up @@ -5044,8 +5044,8 @@ REVISION

PCRE2 10.33 03 February 2019 PCRE2CALLOUT(3)
------------------------------------------------------------------------------



PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3)

Expand Down Expand Up @@ -5278,8 +5278,8 @@ REVISION

PCRE2 10.43 30 November 2023 PCRE2COMPAT(3)
------------------------------------------------------------------------------



PCRE2JIT(3) Library Functions Manual PCRE2JIT(3)

Expand Down Expand Up @@ -5725,8 +5725,8 @@ REVISION

PCRE2 10.43 23 January 2023 PCRE2JIT(3)
------------------------------------------------------------------------------



PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3)

Expand Down Expand Up @@ -5809,8 +5809,8 @@ REVISION

PCRE2 10.43 1 August 2023 PCRE2LIMITS(3)
------------------------------------------------------------------------------



PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3)

Expand Down Expand Up @@ -6038,8 +6038,8 @@ REVISION

PCRE2 10.38 28 August 2021 PCRE2MATCHING(3)
------------------------------------------------------------------------------



PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3)

Expand Down Expand Up @@ -6422,8 +6422,8 @@ REVISION

PCRE2 10.34 04 September 2019 PCRE2PARTIAL(3)
------------------------------------------------------------------------------



PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3)

Expand Down Expand Up @@ -9986,8 +9986,8 @@ REVISION

PCRE2 10.43 12 October 2023 PCRE2PATTERN(3)
------------------------------------------------------------------------------



PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3)

Expand Down Expand Up @@ -10242,8 +10242,8 @@ REVISION

PCRE2 10.41 27 July 2022 PCRE2PERFORM(3)
------------------------------------------------------------------------------



PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3)

Expand Down Expand Up @@ -10601,8 +10601,8 @@ REVISION

PCRE2 10.43 14 November 2023 PCRE2POSIX(3)
------------------------------------------------------------------------------



PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3)

Expand Down Expand Up @@ -10887,8 +10887,8 @@ REVISION

PCRE2 10.32 27 June 2018 PCRE2SERIALIZE(3)
------------------------------------------------------------------------------



PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3)

Expand Down Expand Up @@ -11474,8 +11474,8 @@ REVISION

PCRE2 10.43 12 October 2023 PCRE2SYNTAX(3)
------------------------------------------------------------------------------



PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3)

Expand Down Expand Up @@ -11940,5 +11940,5 @@ REVISION

PCRE2 10.43 04 February 2023 PCRE2UNICODE(3)
------------------------------------------------------------------------------


6 changes: 4 additions & 2 deletions doc/pcre2demo.3
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.TH PCRE2DEMO 3 "28 December 2023" "PCRE2 10.43-DEV"
.TH PCRE2DEMO 3 " 6 January 2024" "PCRE2 10.43-RC1"
.\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!
.SH NAME
// - A demonstration C program for PCRE2 - //
PCRE2DEMO - A demonstration C program for PCRE2
.SH "SOURCE CODE"
.rs
.sp
.\" Start example.
.de EX
Expand Down

0 comments on commit 7b649dc

Please sign in to comment.