I know how to read Word and RTF files using things like catdoc, unrtf,
and so on. But all of these do either Word or RTF but not both.
In an ideal world the MIME type and the filename extension would
always be right. But I have recieved some email where an RTF file
has a '.doc' extension and an 'application/msword' mime type (probably
because of the extension). Other than educating the other user,
what is best way to handle this? I just want to dump the file
to the terminal as plain text. Thanks,
- Dan