pdf editor

Anthony Agelastos iqgrande at gmail.com
Tue Sep 26 19:14:26 PDT 2006

On Sep 26, 2006, at 11:46 AM, sean wrote:

> Can anyone recommend a pdf editor, hopefully one in ports?
What you can do is use the command pdf2ps (should install with  
Ghostscript if memory serves) to convert the PDF into PostScript.  
PostScript is plain text, so you can edit it with any text editor  
(vim, emacs, ee, nedit, pico/nano, etc.) or just use sed to change  
your line (sed 's/oldline/newline/g' file.ps > newfile.ps). Then,  
when the new PostScript file has been created, just re-create the pdf  
with ps2pdf. I know this is not very elegant, but it works for small  


> I just need to change a line in an existing file.
> 				Thanks
> 				Sean
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe at freebsd.org"

More information about the freebsd-questions mailing list