From owner-freebsd-questions@FreeBSD.ORG Wed Sep 27 02:14:26 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3028D16A417 for ; Wed, 27 Sep 2006 02:14:26 +0000 (UTC) (envelope-from iqgrande@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.236]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1161043D4C for ; Wed, 27 Sep 2006 02:14:23 +0000 (GMT) (envelope-from iqgrande@gmail.com) Received: by wx-out-0506.google.com with SMTP id i27so41538wxd for ; Tue, 26 Sep 2006 19:14:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer; b=p62L0g9zOyI6sr9SIcVNhBGYThgP5fd67GxGKEerZRAR7xXEyeM24nTmSKVHu/dkqN+7KlyFMjuFKeVh2DRnjtgBOm7hlI73BcYPnqjjYUOLs4Xo+IFpHgFcDSqzcW2gjy/meeOlgpLlAd3XUYKAazqcv/pxyBwGxLWJu98TtmE= Received: by 10.90.118.10 with SMTP id q10mr26915agc; Tue, 26 Sep 2006 19:14:23 -0700 (PDT) Received: from ?192.168.0.5? ( [67.191.189.255]) by mx.gmail.com with ESMTP id 10sm168192wrl.2006.09.26.19.14.22; Tue, 26 Sep 2006 19:14:22 -0700 (PDT) In-Reply-To: <45194B55.6050609@verizon.net> References: <45194B55.6050609@verizon.net> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Anthony Agelastos Date: Tue, 26 Sep 2006 22:14:20 -0400 To: tech.junk@verizon.net X-Mailer: Apple Mail (2.752.2) Cc: freebsd-questions@freebsd.org Subject: Re: pdf editor X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 02:14:26 -0000 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"