[Nut-upsdev] [Nut-upsuser] NUT v2.8.4 coming up

Greg Troxel gdt at lexort.com
Sat Aug 2 17:58:28 BST 2025


Sorry, bad patch.  Tested with gsed and BSD sed.  The BSD sed error
message was non-helpful, even if the input is clearly non-conforming.



diff --git a/docs/Makefile.am b/docs/Makefile.am
index 51f2846a8..0d56ca35b 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -544,7 +544,7 @@ $(top_builddir)/ChangeLog.adoc: $(top_builddir)/ChangeLog
 	        -e 's,^\([ '"$${TABCHAR}"'][^+]*\)\([^+/\]\)[+],\1\2\\\+,g' \
 	        -e 's,^\([ '"$${TABCHAR}"'].*\)\([~|^]\),\1\\\2,g' \
 	        -e 's,\[\[\([^]]*\)\]\],[\1],g' \
-	        -e 's,^\(\s\s*\)\([0-9]\),\1{empty}\2,g' \
+	        -e 's,^\([[:blank:]][[:blank:]]*\)\([0-9]\),\1{empty}\2,g' \
 	   < "$${INPUT}" >> "$@.tmp.$$$$" \
 	 && if [ x"`find '$@' -newer "$${INPUT}" 2>/dev/null`" != x ] ; then \
 	        echo "  DOC-CHANGELOG-ASCIIDOC	$${INPUT} => $@ : SKIP (keep recently born competitor)"; rm -f "$@.tmp.$$$$"; \




More information about the Nut-upsdev mailing list