Hi Aníbal, how is it going ?

Le Sat, Apr 18, 2009 at 12:01:54AM +1000, Aníbal Monsalve Salazar a écrit :
> I couldn't reproduce this bug with less 418-1.
> 
> catdoc
> -bash: catdoc: command not found
> 
> echo some_texte_in_a_dummy_file > /tmp/foo.doc
> 
> less /tmp/foo.doc
> some_texte_in_a_dummy_file

Interesting…

anx159《~》$ dpkg -l less | grep less
ii  less                                    418-1                         Pager 
program similar to more
anx159《~》$ echo "Hello Anibal" > hello.doc
anx159《~》$ less hello.doc 

…gives me the following in less:

No catdoc available
hello.doc (END) 

I have no explanation for the moment. /usr/bin/lessfile contains instructions
that explicitely seek for catdoc:

anx159《~》$ grep -B2 -A1 catdoc /usr/bin/lessfile

                        *.doc)
                                if [ -x "`which catdoc`" ]; then catdoc "$1"
                                else echo "No catdoc available"; fi ;;


Maybe `which catdoc` returns something on your system ?

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to