Remove annotations from a pdf

Alec Jacobson

July 29, 2015

weblog/

I lost track of where I found this online and had to dig it out of my bash history:

perl -pi -e 's:/Annots \[[^]]+\]::g' input-and-output.pdf