bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 48/61] Rename man page section "EXAMPLE" to "EXAMPLES", for consi


From: G. Branden Robinson
Subject: [PATCH 48/61] Rename man page section "EXAMPLE" to "EXAMPLES", for consistency.
Date: Fri, 24 Nov 2023 12:08:59 -0600

A section title does not need to agree in number with its contents.  We
do not use "FILE" or "BUG" as section titles.

* man/MKada_config.in:
* man/scr_dump.5:
* man/term.5: Do it.
---
 man/MKada_config.in | 2 +-
 man/scr_dump.5      | 2 +-
 man/term.5          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/man/MKada_config.in b/man/MKada_config.in
index 8dd1aed9..cb32f249 100644
--- a/man/MKada_config.in
+++ b/man/MKada_config.in
@@ -76,7 +76,7 @@ successfully.
 issues a usage message and exits successfully.
 .PP
 Omitting options implies \*(``\fB\-\-cflags \-\-libs\fP\*(''.
-.SH EXAMPLE
+.SH EXAMPLES
 Consider a program using \fI@ADA_LIBNAME@\fP to write the message
 \*(``Hello, world!\*('' in the center of the screen and wait for the
 user to press the \*(``q\*('' key before exiting.
diff --git a/man/scr_dump.5 b/man/scr_dump.5
index 2d9f8190..48e545ee 100644
--- a/man/scr_dump.5
+++ b/man/scr_dump.5
@@ -279,7 +279,7 @@ .SS NetBSD
 some data for wide-characters referenced by the \fBWINDOW\fP structure, and
 .bP
 finally, lines as done by other implementations.
-.SH EXAMPLE
+.SH EXAMPLES
 Given a simple program which writes text to the screen
 (and for the sake of example, limiting the screen-size to 10x20):
 .PP
diff --git a/man/term.5 b/man/term.5
index bfacda7d..5fd36a54 100644
--- a/man/term.5
+++ b/man/term.5
@@ -345,7 +345,7 @@ .SS Mixed-case terminal names
 \fBncurses\fP represents the \*(``first character\*(''
 of the terminal name used as
 the intermediate level of a directory tree in (two-character) hexadecimal form.
-.SH EXAMPLE
+.SH EXAMPLES
 As an example, here is a description for the Lear-Siegler
 ADM\-3, a popular though rather stupid early terminal:
 .PP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]