[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] FAQ alert: Losing ^M
- Subject: [ale] FAQ alert: Losing ^M
- From: krum at smyrnacable.net (Kevin Krumwiede)
- Date: 07 May 2002 16:02:14 -0400
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.