Red Hat Bugzilla – Bug 171856
man command bad - binary should not spew out?
Last modified: 2007-11-30 17:11:16 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; X11; Linux i686; en) Opera 8.5
Description of problem:
man man works ok.
But type in the following and you get what looks like a buffer overflow error?
man /usr/bin/man - a whole lot of binary spews out ...
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.man `which binaryname`
I am running the following kernel Linux xxxxx.qut.edu.au 2.6.13-1.1532_FC4smp #1
SMP Thu Oct 20 01:51:51 EDT 2005 i686 i686 i386 GNU/Linux
Could you try to describe your problem more precisely. I could not find any problem.
If you type in the following at a command prompt and press return you will see
what I mean
man `which man`
However if you type in
the man pages appear and format correctly. Thank you.
'man man' command displays the file /usr/share/man/man1/man.1.gz (or translated
version of this file), which is the proper man page. The output of command
is the full patch of command man (/usr/bin/man). Command
man 'which man'
displays /usr/bin/man file. That is executable binary file, which is not in the
proper format for man command (the proper format is shortly described in man.7
man page), so the result is puzzled. That is the right behavior.