From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from int-mx1.corp.redhat.com (nat-pix.rdu.redhat.com [10.255.18.200]) by listman.rdu-colo.redhat.com (8.11.6/8.11.6) with ESMTP id h53IFs501695 for ; Tue, 3 Jun 2003 14:15:54 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h53IGOH09373 for blinux-list@listman.rdu-colo.redhat.com; Tue, 3 Jun 2003 14:16:24 -0400 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h53IGOI09369 for ; Tue, 3 Jun 2003 14:16:24 -0400 Received: from lmaschm.cit.wayne.edu (lmaschm.cit.wayne.edu [141.217.4.24]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h53IGNH27147 for ; Tue, 3 Jun 2003 14:16:23 -0400 Received: from lmaschm.cit.wayne.edu (localhost.localdomain [127.0.0.1]) by lmaschm.cit.wayne.edu (8.12.9/8.12.9) with ESMTP id h53IGJhB003377 for ; Tue, 3 Jun 2003 14:16:19 -0400 Received: (from lmaschm@localhost) by lmaschm.cit.wayne.edu (8.12.9/8.12.9/Submit) id h53IGJ5N003376 for blinux-list@redhat.com; Tue, 3 Jun 2003 14:16:19 -0400 Date: Tue, 3 Jun 2003 14:16:19 -0400 From: Lee Maschmeyer To: blinux-list@redhat.com Subject: Re: Editing Control Characters, Linefeeds, Etc. Message-ID: <20030603181619.GC3040@wayne.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.13 Precedence: list Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: John, Emacs can do this, though it's taken me six months to find out how and I may not be doing it the best way (part of the reason I'm responding). To enter a control character, precede it with a C-Q. To replace all occurrences of a string after Point, use the replace-string function. For example: Recently I had to repair a Web Braille file (Captains Courageous) with faulty end-of-page sequences that my bb.sh script couldn't handle. The key sequence was as follows: C-M-< (top-of-file) M-xreplace-s (resulted in replace-string) ^q^m^q^l ^q^m^q^j^q^l All done. I've been using emacs for the past 6 months solid and am still by no means fond of its interface, but it seems to be able to do lots of stuff if you have a few lifetimes to find out how. On a very distantly-related note, how can people not on Debian handle Debian packages? I tried once getting edbrowse but got depressed before figuring out how to deal with .deb files. No fair cheating by telling me I don't need the Debian distribution; I want to know about .deb files whether or not it's necessary in this case. Thanks and hope this helps, Lee On Tue, Jun 03, 2003 at 10:51:28AM -0500, John J. Boyer wrote: > Hello, > > This also pertains tho the websirte I am maintaining, which is for > Wisconsin Braille, Inc. The original website was created using Frontpage. > I've been trying out Tidy on it and may use Edbrowse also. Some of the > material that goes on it is originally from Word files. This material has > a lot of extra linefeeds and a lot of tabs when it is converted to text. > Is there an editor which can do a find and replace on these characters? > > Thanks, > John