Removal of ^M in Config files
Laurabelle
lists at niceperson.org
Thu Jul 4 09:40:27 BST 2002
On Jul 03 2002, Michael shared a puddle of experience:
>Hello,
>
>Does anyone know of text editor within kde or FreeBSD that can remove
>all ^M's from Config files?
You already have a couple of good answers, but since you asked for a
text editor, I thought I'd point out that I generally use vi/vim for
this purpose.
:%s/^M//
The ^M is actually Ctrl-v and then Enter. This command will substitute
out all the end-of-lines.
(A couple of days ago I actually put the end-of-lines *into* a file that
I knew was going to be edited in Windows.)
Laurabelle
--
ASCII silly question, get a silly ANSI.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde/attachments/20020704/0adce7dd/attachment.sig>
More information about the kde
mailing list