Comment by w108bmg

Comment by w108bmg 6 days ago

3 replies

Maybe? I don't use Pandoc directly (fantastic program, but I only use it thorugh Quarto and Rmarkdown), but something like `doxx document.docx --export text | grep "search term"` should work just like `cat`+`grep`, but with better table structure and no intermediate conversion needed like pandoc.

firesteelrain 6 days ago

With pandoc you can do this I think

pandoc -t plain file.docx | grep "pattern"

  • koolba 6 days ago

    Even better you can have pandoc output markdown.