Steps to Reproduce
You're supposed to give catdoc an MS-Word 1997-2004 .doc file to process. If instead you specify a directory, it will not error. For example,
Catdoc version 0.95 as packaged in most Linux distributions will print nothing or may crash. My fork will either print nothing, or with the -b ("process broken MS-Word file") option it will print a lot of "Warning: paragraph buffer overflow, discarding paragraph"
Expected result
Even with -b option, catdoc should probably exit with a "not a file" error.