Convert MS Word/Excel documents to plain ASCII or TeX.
catdoc is program which reads one or more Microsoft word files and outputs text, contained insinde them to standard output. Therefore it does same work for .doc files, as unix cat command for plain ASCII files. It is now accompanied by xls2csv - program which converts Excel spreadsheet into comma-separated value file. Newest addition to catdoc suite is catppt - a program, which extracts readable text from the PowerPoint files.
catdoc is program which reads one or more Microsoft word files and outputs text, contained insinde them to standard output. Therefore it does same work for .doc files, as unix cat command for plain ASCII files. It is now accompanied by xls2csv - program which converts Excel spreadsheet into comma-separated value file. Newest addition to catdoc suite is catppt - a program, which extracts readable text from the PowerPoint files.
To install catdoc, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install catdoc
To see what files were installed by catdoc, run:
port contents catdoc
To later upgrade catdoc, run:
sudo port selfupdate && sudo port upgrade catdoc
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.