public inbox for blinux-list@redhat.com
 help / color / mirror / Atom feed
* Editing Control Characters, Linefeeds, Etc.
@  Karl Dahlke
  0 siblings, 0 replies; 5+ messages in thread
From: Karl Dahlke @  UTC (permalink / raw)
  To: blinux-list

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



^ permalink raw reply	[flat|nested] 5+ messages in thread
* Editing Control Characters, Linefeeds, Etc.
@  John J. Boyer
   ` Lee Maschmeyer
   ` jude dashiell
  0 siblings, 2 replies; 5+ messages in thread
From: John J. Boyer @  UTC (permalink / raw)
  To: blinux-list

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


-- 
Computers to Help People, Inc.
http://www.chpi.org
825 East Johnson; Madison, WI 53703




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~ UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
 Editing Control Characters, Linefeeds, Etc Karl Dahlke
 John J. Boyer
 ` Lee Maschmeyer
   ` Lee Maschmeyer
 ` jude dashiell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).