From: Karl Dahlke <eklhad@comcast.net>
To: blinux-list@redhat.com
Subject: Editing Control Characters, Linefeeds, Etc.
Date: Tue, 03 Jun 2003 12:14:48 +0000 [thread overview]
Message-ID: <0HFW00HHPYGQ3C@mtaout02.icomcast.net> (raw)
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
next reply other threads:[~ UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
Karl Dahlke [this message]
John J. Boyer
` Lee Maschmeyer
` Lee Maschmeyer
` jude dashiell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0HFW00HHPYGQ3C@mtaout02.icomcast.net \
--to=eklhad@comcast.net \
--cc=blinux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).