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 h53GG8523766 for ; Tue, 3 Jun 2003 12:16:08 -0400 Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h53GGcl24216 for blinux-list@listman.rdu-colo.redhat.com; Tue, 3 Jun 2003 12:16:38 -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 h53GGcI24212 for ; Tue, 3 Jun 2003 12:16:38 -0400 Received: from smtp-out.comcast.net (smtp-out.comcast.net [24.153.64.115]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h53GGcH19362 for ; Tue, 3 Jun 2003 12:16:38 -0400 Received: from eklhad (pcp02694980pcs.roylok01.mi.comcast.net [68.84.185.52]) by mtaout02.icomcast.net (iPlanet Messaging Server 5.2 HotFix 1.16 (built May 14 2003)) with SMTP id <0HFW00HHOYGQ3C@mtaout02.icomcast.net> for blinux-list@redhat.com; Tue, 03 Jun 2003 12:14:50 -0400 (EDT) Date: Tue, 03 Jun 2003 12:14:48 +0000 From: Karl Dahlke Subject: Editing Control Characters, Linefeeds, Etc. To: blinux-list@redhat.com Message-id: <0HFW00HHPYGQ3C@mtaout02.icomcast.net> MIME-version: 1.0 Content-type: text/plain Content-transfer-encoding: 7BIT 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 X-Reply-To: Karl Dahlke List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: I don't know precisely what you want to do, but I guarantee, edbrowse can do it. You can edit an executable file, find the string "hello world", change the w to a j, write the file, and run it, and get the output: hello jorld To undos a file, do this. ,s/\r$// CR in the middle of a line should probably become a true line break. ,s/\r/\n/g Change all collections of tabs and spaces to a single space. Remember, whitespace doesn't mean anything in html, so may as well simplify it. ,s/[ \t]+/ /g I have an edbrowse script that does a fair job of unwording a file, so you can read the text in whatever.doc. For more info, send questions to eklhad@comcast.net. Karl