gbranden pushed a commit to branch master
in repository groff.
commit 93957c377c7bed14045b151bf33201d10d07c3e6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jan 26 01:47:47 2026 -0600
[groff]: Fix test script printf portability goof.
GNU printf unfortunately Does What It Thinks You Meant, instead of
slapping your wrist and making you write portable format strings.
---
src/roff/groff/tests/check-delimiter-validity.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/roff/groff/tests/check-delimiter-validity.sh
b/src/roff/groff/tests/check-delimiter-validity.sh
index 98a2a7eb7..04e049531 100755
--- a/src/roff/groff/tests/check-delimiter-validity.sh
+++ b/src/roff/groff/tests/check-delimiter-validity.sh
@@ -44,7 +44,7 @@ do
echo "checking validity of control character $octal (octal)" \
"as escape sequence delimiter when not in compatibility mode" \
>&2
- output=$(printf '\\l\'$octal'1n+2n\&_\'$octal'\n' \
+ output=$(printf '\\l\'$octal'1n+2n\\&_\'$octal'\n' \
| "$groff" -w delim -T ascii | sed '/^$/d')
echo "$output" | grep -Fqx ___ || wail
done
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit