SF.net SVN: docutils:[9593 ] trunk/sandbox/manpage-wri ter
grubert--- via Docutils-checkins <[email protected]>
| Newsgroups | gmane.text.docutils.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 9593
http://sourceforge.net/p/docutils/code/9593
Author: grubert
Date: 2024-03-25 22:01:42 +0000 (Mon, 25 Mar 2024)
Log Message:
-----------
add nroff -man test
Modified Paths:
--------------
trunk/sandbox/manpage-writer/runtest-man
Added Paths:
-----------
trunk/sandbox/manpage-writer/expected/URUE-problem.nroff
Added: trunk/sandbox/manpage-writer/expected/URUE-problem.nroff
===================================================================
--- trunk/sandbox/manpage-writer/expected/URUE-problem.nroff (rev 0)
+++ trunk/sandbox/manpage-writer/expected/URUE-problem.nroff 2024-03-25 22:01:42 UTC (rev 9593)
@@ -0,0 +1,66 @@
+go to the ]8;;http://www.python.org\python home page]8;;\ to read
+
+or read ]8;;http://www.python.org\http://www.python.org]8;;\
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Modified: trunk/sandbox/manpage-writer/runtest-man
===================================================================
--- trunk/sandbox/manpage-writer/runtest-man 2024-03-25 21:55:34 UTC (rev 9592)
+++ trunk/sandbox/manpage-writer/runtest-man 2024-03-25 22:01:42 UTC (rev 9593)
@@ -17,7 +17,7 @@
ENCS=""
GROFF="ps"
else
- ENCS="latin1 utf8 ascii ps html"
+ ENCS="latin1 utf8 ascii ps html nroff"
GROFF=""
fi
@@ -51,7 +51,11 @@
for ENC in $ENCS ; do
if [ -e $EXP_DIR/$F_BASE.$ENC ] ; then
- $CMD -T$ENC $IN_F > $OUT_DIR/$F_BASE.$ENC
+ if [ "nroff" != $ENC ] ; then
+ $CMD -T$ENC $IN_F > $OUT_DIR/$F_BASE.$ENC
+ else
+ nroff -man $IN_F > $OUT_DIR/$F_BASE.$ENC
+ fi
diff -s -u $EXP_DIR/$F_BASE.$ENC $OUT_DIR/$F_BASE.$ENC
if [ $? -ne 0 ] ; then
inc_ERROR_CNT
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.