as tu verifier que tu n'aurais pas plusieurs commandes less ?
des fois on fait des conn...
$ type less
less is /usr/bin/less
bash-2.05b$ less -V
less 382
Copyright (C) 2002 Mark Nudelman
less comes with NO WARRANTY, to the extent permitted by law.
For information about the terms of redistribution,
see the file named README in the less distribution.
Homepage: [
www.greenwoodsoftware.com]
ash-2.05b$ set | grep LESS
LESS=-M
LESSCHARSET=latin1
LESSOPEN='|lesspipe.sh %s'
puis
bash-2.05b$ type lesspipe.sh
lesspipe.sh is /usr/bin/lesspipe.sh
un petit controles de lesspipe.sh
$ more (ou cat) /usr/bin/lesspipe.sh
#!/bin/sh
#
# Copyright 1997, 1998, 1999, 2000 Patrick Volkerding, Moorhead, Minnesota USA
# Copyright 2001, 2002 Slackware Linux, Inc, Concord, CA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
# permitted provided that the following conditions are met:
...
...
# strings "$1"
# fi ;;
esac
}
lesspipe "$1"
si tout cela semble OK il te reste lib ...
donc verifies les biblio
bash-2.05b$ ldd /usr/bin/less
libncurses.so.5 => /lib/libncurses.so.5 (0x4002c000)
libc.so.6 => /lib/libc.so.6 (0x4006b000)
libgpm.so.1 => /lib/libgpm.so.1 (0x4019a000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
et controles que tes lib soit bien OK (existantes à minima)
L'homme qui parlait à l'oreille des PC @#%!