bug-bash
[Top][All Lists]
Advanced

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

[PATCH 07/13] lib/readline/doc/history.3: Fix hyphen-minus signs.


From: G. Branden Robinson
Subject: [PATCH 07/13] lib/readline/doc/history.3: Fix hyphen-minus signs.
Date: Thu, 28 Mar 2024 16:11:57 -0500

Use a *roff minus sign for minus signs and the `-` character in email
addresses.
---
 lib/readline/doc/history.3 | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/readline/doc/history.3 b/lib/readline/doc/history.3
index 30b4d7be..40b85b20 100644
--- a/lib/readline/doc/history.3
+++ b/lib/readline/doc/history.3
@@ -514,7 +514,7 @@ .SS Searching the History List
 If \fIstring\fP is found, then
 the current history index is set to that history entry, and the value
 returned is the offset in the line of the entry where
-\fIstring\fP was found.  Otherwise, nothing is changed, and a -1 is
+\fIstring\fP was found.  Otherwise, nothing is changed, and a \-1 is
 returned.
 .PP
 .F2 int history_search_prefix "const char *string" "int direction"
@@ -524,13 +524,13 @@ .SS Searching the History List
 through previous entries, otherwise through subsequent entries.
 If \fIstring\fP is found, then the
 current history index is set to that entry, and the return value is 0.
-Otherwise, nothing is changed, and a -1 is returned.
+Otherwise, nothing is changed, and a \-1 is returned.
 .PP
 .F3 int history_search_pos "const char *string" "int direction" "int pos"
 Search for \fIstring\fP in the history list, starting at \fIpos\fP, an
 absolute index into the list.  If \fIdirection\fP is negative, the search
 proceeds backward from \fIpos\fP, otherwise forward.  Returns the absolute
-index of the history element where \fIstring\fP was found, or -1 otherwise.
+index of the history element where \fIstring\fP was found, or \-1 otherwise.
 .SS Managing the History File
 The History library can read the history from and write it to a file.
 This section documents the functions for managing a history file.
@@ -728,7 +728,7 @@ .SH BUG REPORTS
 bug report to \fIbug\-readline\fP@\fIgnu.org\fP.
 If you have a fix, you are welcome to mail that
 as well!  Suggestions and `philosophical' bug reports may be mailed
-to \fPbug-readline\fP@\fIgnu.org\fP or posted to the Usenet
+to \fPbug\-readline\fP@\fIgnu.org\fP or posted to the Usenet
 newsgroup
 .BR gnu.bash.bug .
 .PP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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