Removal of ^M in Config files

Ingo Klöcker kloecker at kde.org
Thu Jul 4 08:23:05 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michael wrote:
> Does anyone know of text editor within kde or FreeBSD that can remove
> all ^M's from Config files?
>
> I had archived some of my Config files on my DOS partition and when I
> brought them back to my FreeBSD they all have ^M's at the end of every
> line and I need to remove them all.  Some of these config files are
> huge so I'm looking for a utility that can remove them all in one
> pass.

Use the following command:
cat filename | recode /CR-LF

Regards,
Ingo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9I/faqUQWN/hplRsRAvcqAJ41dkuUlmLhHCy19p3enet7K/QBMgCfSIOQ
q9xFtx8jrwhCAla7RZFKQn4=
=vY75
-----END PGP SIGNATURE-----

___________________________________________________
This message is from the kde mailing list.
Account management:  http://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list