Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you use this to basically cat the output and then you can grep the docx?

pandoc can do this



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.


With pandoc you can do this I think

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


Even better you can have pandoc output markdown.


Which almost looks like what this terminal program is doing ?




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: