I want to recover text from a .doc file that wouldn't open in any text editors (msoffice word, libreoffice writer).
I have found this answer saying to use a command like
strings foo.doc | less
And it seems that a lot of the text is in this way visible in terminal.
But while I am trying to copy/paste, only what is in the actual terminal window is copied - that is less than a page.
How to select and copy all the text accessed in terminal?