this post was submitted on 07 Feb 2025
556 points (97.8% liked)
Programmer Humor
20866 readers
715 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
So I guess it's just only us Millennials that know how to convert a PDF properly, and we're just sandwiched in between boomers and gen Z finding the most ridiculous ways to try to accomplish that task.
Ctrl a
Ctrl c
alt tab
Ctl v
Ctl s
conversion complete
$ pandoc doc.pdf -o doc.txt
Edit: welp, pandoc can't do that.
pdftotext
it is.Imagemagick be converting anything into anything (Actually in this case, it make an html file and a png file which is referenced in html file and html page displays it)
not really a good way to get the text out of a pdf though. then again, turns out neither is pandoc.