Skip to content

Commit 7b649dc

Browse files
committed
For the pcre2demo man page, put the source code in its own section rather than everything under NAME
1 parent 72d9deb commit 7b649dc

File tree

4 files changed

+42
-36
lines changed

4 files changed

+42
-36
lines changed

PrepareRelease

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,10 @@ perl <<"END" >pcre2demo.3
106106
print OUT ".TH PCRE2DEMO 3 \"", $t->strftime('%e %B %Y'), '" "', $version, "\"\n" .
107107
".\\\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!\n" .
108108
".SH NAME\n" .
109-
"// - A demonstration C program for PCRE2 - //\n" .
110-
".sp\n" .
109+
"PCRE2DEMO - A demonstration C program for PCRE2\n" .
110+
".SH \"SOURCE CODE\"\n" .
111+
".rs\n" .
112+
".sp\n" .
111113
".\\\" Start example.\n" .
112114
".de EX\n" .
113115
". do ds mF \\\\n[.fam]\n" .
@@ -165,6 +167,7 @@ for file in *.3 ; do
165167
if [ `expr $base : '.*_'` -ne 0 ] ; then toc="" ; fi
166168
if [ "$base" = "pcre2sample" ] || \
167169
[ "$base" = "pcre2compat" ] || \
170+
[ "$base" = "pcre2demo" ] || \
168171
[ "$base" = "pcre2limits" ] || \
169172
[ "$base" = "pcre2unicode" ] ; then
170173
toc=""

doc/html/pcre2demo.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ <h1>pcre2demo man page</h1>
1212
automatically from the original man page. If there is any nonsense in it,
1313
please consult the man page, in case the conversion went wrong.
1414
<br>
15-
<ul>
16-
</ul>
15+
<br><b>
16+
SOURCE CODE
17+
</b><br>
1718
<PRE>
1819
/*************************************************
1920
* PCRE2 DEMONSTRATION PROGRAM *

doc/pcre2.txt

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ REVISION
189189

190190
PCRE2 10.38 27 August 2021 PCRE2(3)
191191
------------------------------------------------------------------------------
192-
193-
192+
193+
194194

195195
PCRE2API(3) Library Functions Manual PCRE2API(3)
196196

@@ -3984,8 +3984,8 @@ REVISION
39843984

39853985
PCRE2 10.43 08 December 2023 PCRE2API(3)
39863986
------------------------------------------------------------------------------
3987-
3988-
3987+
3988+
39893989

39903990
PCRE2BUILD(3) Library Functions Manual PCRE2BUILD(3)
39913991

@@ -4610,8 +4610,8 @@ REVISION
46104610

46114611
PCRE2 10.43 24 November PCRE2BUILD(3)
46124612
------------------------------------------------------------------------------
4613-
4614-
4613+
4614+
46154615

46164616
PCRE2CALLOUT(3) Library Functions Manual PCRE2CALLOUT(3)
46174617

@@ -5044,8 +5044,8 @@ REVISION
50445044

50455045
PCRE2 10.33 03 February 2019 PCRE2CALLOUT(3)
50465046
------------------------------------------------------------------------------
5047-
5048-
5047+
5048+
50495049

50505050
PCRE2COMPAT(3) Library Functions Manual PCRE2COMPAT(3)
50515051

@@ -5278,8 +5278,8 @@ REVISION
52785278

52795279
PCRE2 10.43 30 November 2023 PCRE2COMPAT(3)
52805280
------------------------------------------------------------------------------
5281-
5282-
5281+
5282+
52835283

52845284
PCRE2JIT(3) Library Functions Manual PCRE2JIT(3)
52855285

@@ -5725,8 +5725,8 @@ REVISION
57255725

57265726
PCRE2 10.43 23 January 2023 PCRE2JIT(3)
57275727
------------------------------------------------------------------------------
5728-
5729-
5728+
5729+
57305730

57315731
PCRE2LIMITS(3) Library Functions Manual PCRE2LIMITS(3)
57325732

@@ -5809,8 +5809,8 @@ REVISION
58095809

58105810
PCRE2 10.43 1 August 2023 PCRE2LIMITS(3)
58115811
------------------------------------------------------------------------------
5812-
5813-
5812+
5813+
58145814

58155815
PCRE2MATCHING(3) Library Functions Manual PCRE2MATCHING(3)
58165816

@@ -6038,8 +6038,8 @@ REVISION
60386038

60396039
PCRE2 10.38 28 August 2021 PCRE2MATCHING(3)
60406040
------------------------------------------------------------------------------
6041-
6042-
6041+
6042+
60436043

60446044
PCRE2PARTIAL(3) Library Functions Manual PCRE2PARTIAL(3)
60456045

@@ -6422,8 +6422,8 @@ REVISION
64226422

64236423
PCRE2 10.34 04 September 2019 PCRE2PARTIAL(3)
64246424
------------------------------------------------------------------------------
6425-
6426-
6425+
6426+
64276427

64286428
PCRE2PATTERN(3) Library Functions Manual PCRE2PATTERN(3)
64296429

@@ -9986,8 +9986,8 @@ REVISION
99869986

99879987
PCRE2 10.43 12 October 2023 PCRE2PATTERN(3)
99889988
------------------------------------------------------------------------------
9989-
9990-
9989+
9990+
99919991

99929992
PCRE2PERFORM(3) Library Functions Manual PCRE2PERFORM(3)
99939993

@@ -10242,8 +10242,8 @@ REVISION
1024210242

1024310243
PCRE2 10.41 27 July 2022 PCRE2PERFORM(3)
1024410244
------------------------------------------------------------------------------
10245-
10246-
10245+
10246+
1024710247

1024810248
PCRE2POSIX(3) Library Functions Manual PCRE2POSIX(3)
1024910249

@@ -10601,8 +10601,8 @@ REVISION
1060110601

1060210602
PCRE2 10.43 14 November 2023 PCRE2POSIX(3)
1060310603
------------------------------------------------------------------------------
10604-
10605-
10604+
10605+
1060610606

1060710607
PCRE2SAMPLE(3) Library Functions Manual PCRE2SAMPLE(3)
1060810608

@@ -10887,8 +10887,8 @@ REVISION
1088710887

1088810888
PCRE2 10.32 27 June 2018 PCRE2SERIALIZE(3)
1088910889
------------------------------------------------------------------------------
10890-
10891-
10890+
10891+
1089210892

1089310893
PCRE2SYNTAX(3) Library Functions Manual PCRE2SYNTAX(3)
1089410894

@@ -11474,8 +11474,8 @@ REVISION
1147411474

1147511475
PCRE2 10.43 12 October 2023 PCRE2SYNTAX(3)
1147611476
------------------------------------------------------------------------------
11477-
11478-
11477+
11478+
1147911479

1148011480
PCRE2UNICODE(3) Library Functions Manual PCRE2UNICODE(3)
1148111481

@@ -11940,5 +11940,5 @@ REVISION
1194011940

1194111941
PCRE2 10.43 04 February 2023 PCRE2UNICODE(3)
1194211942
------------------------------------------------------------------------------
11943-
11944-
11943+
11944+

doc/pcre2demo.3

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
.TH PCRE2DEMO 3 "28 December 2023" "PCRE2 10.43-DEV"
1+
.TH PCRE2DEMO 3 " 6 January 2024" "PCRE2 10.43-RC1"
22
.\"AUTOMATICALLY GENERATED BY PrepareRelease - do not EDIT!
33
.SH NAME
4-
// - A demonstration C program for PCRE2 - //
4+
PCRE2DEMO - A demonstration C program for PCRE2
5+
.SH "SOURCE CODE"
6+
.rs
57
.sp
68
.\" Start example.
79
.de EX

0 commit comments

Comments
 (0)