Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 22:14:20 -0400
From:      Anthony Agelastos <iqgrande@gmail.com>
To:        tech.junk@verizon.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pdf editor
Message-ID:  <B642391B-AF4E-4829-AF5E-035BCD98A42D@gmail.com>
In-Reply-To: <45194B55.6050609@verizon.net>
References:  <45194B55.6050609@verizon.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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  
changes.

-Anthony

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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?B642391B-AF4E-4829-AF5E-035BCD98A42D>