Subject: pkg/11722: Bugs in scripts in wv-0.6.0
To: None <gnats-bugs@gnats.netbsd.org>
From: Per Amund Amundsen <pa@bsd-amundsen.ux.his.no>
List: netbsd-bugs
Date: 12/13/2000 04:58:14
>Number: 11722
>Category: pkg
>Synopsis: Bugs in shell-scrips in wv-package
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 13 04:58:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator: Per Amund Amundsen
>Release: wv-0.6.0
>Organization:
Per Amund Amundsen per-am@ux.his.no
School of Science and Technology per.a.amundsen@tn.his.no
Stavanger University College Tlf: (+47) 51 83 18 77
PO Box 2557 Ullandhaug, N-4091 Stavanger Fax: (+47) 51 83 17 50
>Environment:
System: NetBSD bsd-amundsen 1.5 NetBSD 1.5 (BSDA2) #0: Fri Dec 8 12:32:10 PST 2000 root@bsd-amundsen:/usr/src/sys/arch/i386/compile/BSDA2 i386
>Description:
There is a printing error in the script wvText in this
package, which invokes "wvHTML", instead og "wvHtml"
Also, three of the shell scripts, wvText, wvPFD and wvPS lacks
a trailing line-feed.
In addition it would be nice if the wv scripts would hounour the
TMPDIR-setting, e.g. by using "mktemp -t", but I suppose this
is a change-request, and not a bug report.
>How-To-Repeat:
wvText <M$_word_file.doc>
>Fix:
--- wvText.orig Wed Dec 13 13:30:17 2000
+++ wvText Wed Dec 13 13:30:06 2000
@@ -21,7 +21,7 @@
# intermediate file
TMP_FILE=/tmp/wv${1}.html
-wvHTML ${1} ${TMP_FILE} 2>&1 >/dev/null
+wvHtml ${1} ${TMP_FILE} 2>&1 >/dev/null
if [ ${?} -ne "0" ]; then
echo "Could not convert into HTML"
exit 1
Patching will add the required new-line to wvText.
>Release-Note:
>Audit-Trail:
>Unformatted: