Le Sat, Apr 18, 2009 at 12:28:51AM +1000, Aníbal Monsalve Salazar a écrit :
> On Fri, Apr 17, 2009 at 11:17:23PM +0900, Charles Plessy wrote:
> >Maybe `which catdoc` returns something on your system ?
> 
> dpkg -l less | grep less
> ii  less  418-1 Pager program similar to more
> 
> which which; echo $?
> /usr/bin/which
> 0
> 
> which catdoc; echo $?
> 1

Hi Aníbal,

I have found the reason for the difference: I had LESSOPEN set to '|
/usr/bin/lesspipe %s' in my environment, because I forgot that I uncommented
the following line in my .bashrc:

# make less more friendly for non-text input files, see lesspipe(1)
#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"

Have a nice Sunday,

-- 
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