3 ms·
Can you use this to basically cat the output and then you can grep the docx? pandoc can do this
by firesteelrain 1y ago
Can you use this to basically cat the output and then you can grep the docx?
pandoc can do this
- w108bmg 1y agoMaybe? 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 1y agoWith pandoc you can do this I think pandoc -t plain file.docx | grep "pattern"
- koolba 1y agoEven better you can have pandoc output markdown.
- firesteelrain 1y agoWhich almost looks like what this terminal program is doing ?