#762475 With sh (dash and bash), "man type" returns the doc of libcaca!

Package:
libcaca0
Source:
libcaca
Description:
colour ASCII art library
Submitter:
Spanti Nicola
Date:
2014-09-22 17:57:11 UTC
Severity:
normal
#762475#5
Date:
2014-09-22 17:56:33 UTC
From:
To:
Hi.

On Debian GNU/Linux 8/jessie/testing with bash and dash, "man type"
returns the documentation of libcaca0...  I have seen the same problem
with Ubuntu 14.04, so I assume that it has been "copy-pasted" by Ubuntu.
"whereis type" returns "type: /usr/share/man/man3/type.3caca.gz".
The locaction of the man is strange, but the content is also strange and
speaks about libcaca and caca_event(3caca).
I have found an accurate documentation on the Web:
http://ss64.com/bash/type.html

Regards.