[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#135737: tetex-bin: texdoc grfguide blows up



Package: tetex-bin
Version: 1.0.7+20011202-3.1
Severity: normal

$ texdoc grfguide
/usr/bin/texdoc: eval: line 1: syntax error near unexpected token `&'
/usr/bin/texdoc: eval: line 1: `ghostview /tmp/texdoc7256/grfguide.ps; rm -f /tmp/texdoc7256/grfguide.ps; clean_tmp; &'

the obvious fix seems to be:
-        viewer=`eval echo $viewer | sed -e "s|%s|$filename; rm -f $filename; clean_tmp;|g"`
+        viewer=`eval echo $viewer | sed -e "s|%s|$filename; rm -f $filename; clean_tmp|g"`

ie. don't substitute in a gratuitous semicolon.

-- System Information
Debian Release: 3.0
Kernel Version: Linux kuroneko 2.4.17 #2 Fri Feb 8 22:56:03 EST 2002 i686 unknown

Versions of the packages tetex-bin depends on:
ii  debianutils    1.16           Miscellaneous utilities specific to Debian.
ii  dpkg           1.9.19         Package maintenance system for Debian
ii  ed             0.2-19         The classic unix line editor
ii  libc6          2.2.5-3        GNU C Library: Shared libraries and Timezone
ii  libkpathsea3   1.0.7+20011202 shared libkpathsea for teTeX
ii  libpng2        1.0.12-3       PNG library - runtime
ii  libstdc++2.10- 2.95.4-2       The GNU stdc++ library
ii  libtiff3g      3.5.5-6        Tag Image File Format library
ii  libxaw7        4.1.0-14       X Athena widget set library
ii  tetex-base     1.0.2+20011202 basic teTeX library files
ii  xlibs          4.1.0-14       X Window System client libraries
ii  zlib1g         1.1.3-19       compression library - runtime



Reply to: