Re: replacing ^M in the editor
- From: Pavel Roskin <proski gnu org>
- To: hugo vanwoerkom <hugovanwoerkom yahoo com>
- Cc: mc gnome org
- Subject: Re: replacing ^M in the editor
- Date: Fri, 21 Feb 2003 11:24:31 -0500 (EST)
Hello!
On Fri, 21 Feb 2003, hugo vanwoerkom wrote:
Pavel Roskin <proski gnu org>
Re: replacing ^M in the editor
Pavel: Guess what! dos2unix command does it
faultlessly!
Strictly speaking, you asked to replace ^M (presumably with some other
text), not to remove it. Also, you didn't say that you are dealing with
DOS text, where ^M always precedes the newline.
It's easy to emulate functionality of dos2unix in mcedit. Select F4
(Replace). Then enter:
Enter search string:
. Ctrl-q Enter
Enter replacement string:
Ctrl-q Enter
Select "Regular expression". Press OK. That's it.
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]