[ale] FAQ alert: Losing ^M

Kevin Krumwiede krum at smyrnacable.net
Tue May 7 16:02:14 EDT 2002


On Tue, 2002-05-07 at 14:16, Jim Popovitch wrote:
> Hi Joe,
> 
> if you have dos2unix that will work, if not in vi you can use the following
> command at the ":" prompt:
> 
>        %s/^V^M//
> 
> NOTE: the ^V^M pair are 2 keystrokes (CTRL-V and CTRL-M).

vi, pico... It must be the day for making things complicated!

What's wrong with 'cat $file | tr -d \\15 > ~tmp && mv ~tmp $file'?

Okay, nevermind.

Krum


---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list