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

Bug#272477: texdoc -s undocumented and broken



Package: tetex-bin
Version: 2.0.2-20

The -s switch of texdoc is not documented in the man page. Further, this search
mode is broken as /usr/share/texmf/doc is a symbolic link. I suggest adding
-follow to the find command:

--- texdoc      2004-08-25 20:51:33.000000000 +0200
+++ texdoc.fixed        2004-09-20 11:41:47.000000000 +0200
@@ -98,7 +98,7 @@
 do
   case $mode in
     search)
-      find `kpsewhich --expand-path='$TEXMF/doc' | tr : ' '` -type f -print |
+      find `kpsewhich --expand-path='$TEXMF/doc' | tr : ' '` -type f -follow -print |
         egrep $name
       continue
       ;;

Hotti



Reply to: