man/man3/getopt.3: ffix
PATCH v2 1/1 man/man3/getopt.3: ffix
Protect literals from hyphenation.
Signed-off-by "G. Branden Robinson" <[email protected]>
--- man/man3/getopt.3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
man/man3/getopt.3 +7 -7
@@ -137,14 +137,14 @@ .SH DESCRIPTION If the first character of .I optstring is \[aq]+\[aq] or the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT is set, then option processing stops as soon as a nonoption argument is encountered. If \[aq]+\[aq] is not the first character of .IR optstring , it is treated as a normal option. If -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT behaviour is required in this case .I optstring will contain two \[aq]+\[aq] symbols.
@@ -221,7 +221,7 @@ .SH RETURN VALUE otherwise \[aq]?\[aq] is returned. .SH ENVIRONMENT .TP -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT If this is set, then option processing stops as soon as a nonoption argument is encountered. .SH ATTRIBUTES
@@ -249,7 +249,7 @@ .SH VERSIONS .IR const , but these functions permute its elements unless the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT is set. .I const is used in the actual prototype to be compatible with other systems;
@@ -284,7 +284,7 @@ .SH HISTORY .P Very old versions of glibc were affected by a .UR https://\:sourceware.org/\:git/\:?p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05 -.BI _ PID _GNU_nonoption_argv_flags_ +.BI \%_ PID _GNU_nonoption_argv_flags_ environment variable .UE . .SH NOTES
@@ -294,7 +294,7 @@ .SH NOTES and \[aq]\-\[aq] at the start of .IR optstring , or changes the value of -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT between scans, must reinitialize .BR getopt ()
@@ -303,7 +303,7 @@ .SH NOTES to 0, rather than the traditional value of 1. (Resetting to 0 forces the invocation of an internal initialization routine that rechecks -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT and checks for GNU extensions in .IR optstring .) .P
Signature · 1 line
2.30.2
Alejandro Colomar
maintainerHi Branden,
Quoted 3 lines · G. Branden Robinson
Protect literals from hyphenation.
Signed-off-by "G. Branden Robinson" <[email protected]>
Thanks! I've applied the patch.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=ac538808a249bc08d375c94cecab5ffe3eb269aa>
Have a lovely night!
Alex
Quoted 72 lines
--- man/man3/getopt.3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)man/man3/getopt.3 +7
-7@@ -137,14 +137,14 @@ .SH DESCRIPTION If the first character of .I optstring is \[aq]+\[aq] or the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT is set, then option processing stops as soon as a nonoption argument is encountered. If \[aq]+\[aq] is not the first character of .IR optstring , it is treated as a normal option. If -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT behaviour is required in this case .I optstring will contain two \[aq]+\[aq] symbols.@@ -221,7 +221,7 @@ .SH RETURN VALUE otherwise \[aq]?\[aq] is returned. .SH ENVIRONMENT .TP -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT If this is set, then option processing stops as soon as a nonoption argument is encountered. .SH ATTRIBUTES@@ -249,7 +249,7 @@ .SH VERSIONS .IR const , but these functions permute its elements unless the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT is set. .I const is used in the actual prototype to be compatible with other systems;@@ -284,7 +284,7 @@ .SH HISTORY .P Very old versions of glibc were affected by a .UR https://\:sourceware.org/\:git/\:?p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05 -.BI _ PID _GNU_nonoption_argv_flags_ +.BI \%_ PID _GNU_nonoption_argv_flags_ environment variable .UE . .SH NOTES@@ -294,7 +294,7 @@ .SH NOTES and \[aq]\-\[aq] at the start of .IR optstring , or changes the value of -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT between scans, must reinitialize .BR getopt ()@@ -303,7 +303,7 @@ .SH NOTES to 0, rather than the traditional value of 1. (Resetting to 0 forces the invocation of an internal initialization routine that rechecks -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT and checks for GNU extensions in .IR optstring .) .PSignature · 1 line
2.30.2
Signature · 1 line
<https://www.alejandro-colomar.es>
Alejandro Colomar
maintainerHi Branden,
Quoted 12 lines · G. Branden Robinson
Protect literals from hyphenation.
Signed-off-by "G. Branden Robinson" <[email protected]>--- man/man3/getopt.3 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)man/man3/getopt.3 +0
-0
man/man3/getopt.3 .SH DESCRIPTION · line 140
Quoted 5 lines
man/man3/getopt.3 +1
-1@@ -137,14 +137,14 @@ .SH DESCRIPTION If the first character of .I optstring is \[aq]+\[aq] or the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT
I was wondering if we could write a script based on yours for finding all places that need such a change.
Have a lovely day!
Alex
Quoted 58 lines
man/man3/getopt.3 +6
-6is set, then option processing stops as soon as a nonoption argument is encountered. If \[aq]+\[aq] is not the first character of .IR optstring , it is treated as a normal option. If -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT behaviour is required in this case .I optstring will contain two \[aq]+\[aq] symbols.@@ -221,7 +221,7 @@ .SH RETURN VALUE otherwise \[aq]?\[aq] is returned. .SH ENVIRONMENT .TP -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT If this is set, then option processing stops as soon as a nonoption argument is encountered. .SH ATTRIBUTES@@ -249,7 +249,7 @@ .SH VERSIONS .IR const , but these functions permute its elements unless the environment variable -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT is set. .I const is used in the actual prototype to be compatible with other systems;@@ -284,7 +284,7 @@ .SH HISTORY .P Very old versions of glibc were affected by a .UR https://\:sourceware.org/\:git/\:?p=glibc.git;a=commitdiff;h=bf079e19f50d64aa5e05 -.BI _ PID _GNU_nonoption_argv_flags_ +.BI \%_ PID _GNU_nonoption_argv_flags_ environment variable .UE . .SH NOTES@@ -294,7 +294,7 @@ .SH NOTES and \[aq]\-\[aq] at the start of .IR optstring , or changes the value of -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT between scans, must reinitialize .BR getopt ()@@ -303,7 +303,7 @@ .SH NOTES to 0, rather than the traditional value of 1. (Resetting to 0 forces the invocation of an internal initialization routine that rechecks -.B POSIXLY_CORRECT +.B \%POSIXLY_CORRECT and checks for GNU extensions in .IR optstring .) .PSignature · 1 line
2.30.2
Signature · 1 line
<https://www.alejandro-colomar.es>