On Fri, 22 Jan 2021 at 10:46, Steve Mynott steve.mynott@gmail.com wrote:
On Fri, 22 Jan 2021 at 10:43, Jonathan McDowell noodles@earth.li wrote:
I haven't tried it, but docx2txt (http://docx2txt.sourceforge.net/) looks like it might do what the original poster wants?
I'll try and see if works any better for formatting than
catdocx () { unzip -p "$1" word/document.xml | w3m -B -T text/html | fmt }
docx2txt works very well (better than my shell function) and is exactly what I wanted!