el hombre no funciona (demasiados argumentos)

el hombre no funciona (demasiados argumentos)

Recibo este error cuando intento ejecutar manen un sistema Linux:

$ LC_ALL=C man man

man: Too many arguments
Try 'man --help' or 'man --usage' for more information.

Mi mancomando no parece ser un alias:

command -v man: /usr/bin/man 

¿Qué está sucediendo?

Respuesta1

Comprobar la existencia de MANOPTla variable.

MANOPT
Si $MANOPTestá configurado, se analizará antes de manla línea de comando y se espera que tenga un formato similar.

fuente

Ejemplo:

$ MANOPT='foo bar'
$ export MANOPT
$ man man
man: Too many arguments
Try 'man --help' or 'man --usage' for more information.
$

Una solución ad hoc obvia es unset MANOPT. Entonces deberías investigar de dónde vino la variable.

información relacionada