gbranden pushed a commit to branch master
in repository groff.

commit 86f1ce6f57cb75bb64fc497a3531c3a357896a32
Author: G. Branden Robinson <[email protected]>
AuthorDate: Sat Jul 13 01:36:08 2024 -0500

    [nroff]: Tweak shell pattern for clarity.
---
 ChangeLog               | 4 ++++
 src/roff/nroff/nroff.sh | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 3b3bf1ae1..9e52a2d83 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2024-07-13  G. Branden Robinson <[email protected]>
+
+       * src/roff/nroff/nroff.sh: Tweak shell pattern for clarity.
+
 2024-07-12  G. Branden Robinson <[email protected]>
 
        Update gnulib to stable/2024-07.
diff --git a/src/roff/nroff/nroff.sh b/src/roff/nroff/nroff.sh
index 143fa7053..38d7f5c2b 100644
--- a/src/roff/nroff/nroff.sh
+++ b/src/roff/nroff/nroff.sh
@@ -54,7 +54,7 @@ do
         break
         ;;
       -[abCEikpRStUzZ]*)
-        remainder=${thisarg#??}
+        remainder=${thisarg#-?}
         thisarg=${thisarg%%$remainder}
         newargs="$newargs $thisarg"
         thisarg=-$remainder

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to