Just for fun, take a look at jEdit. It's an incredible editor (with
great plugins including some ant manager plugins).
It's got a quick switch you can flip to change the line termination on a
file.
It's a Java app... completely cross platform... I've developed a web app
simultaneously on 2 diff
there is a DOS2UNIX util somewhere you can prob find with Google.
-Original Message-
From: Higdon, Brian [VIS-Non J&J] [mailto:[EMAIL PROTECTED]
Sent: Friday, June 13, 2003 7:24 AM
To: 'Struts Users Mailing List'
Subject: RE: [OT] - dos file
Try
http://www.redhat.com/s
Try
http://www.redhat.com/software/cygwin/
it has most of the {Li|U}nix tools we have become accustomed to and it runs
under Windows.
-Original Message-
From: Ray Madigan [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 11:25 AM
To: Struts Users Mailing List
Subject: [OT] - dos
On Jun 12, 2003, Mark Lowe <[EMAIL PROTECTED]> wrote:
|m vi
|
|i think something like (in vi)
|
|:%s/^M/ /g
You need a ^V before the ^M (and of course, we're talking control
characters here, not the "^" and "M" keys).
If you're using linux, you should be using xemacs instead
or emacs:
ESC-x replace-string
Ctrl-q m (gives ^M)
Shunhui
-Original Message-
From: David Graham [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 12, 2003 8:34 AM
To: [EMAIL PROTECTED]
Subject: Re: [OT] - dos file
I think there's a dos2unix program that converts the file.
m vi
i think something like (in vi)
:%s/^M/ /g
should work just watch how you get the ^M in there .. you may need to
use cntl + M to produce the correct characters...
I believe these days you can also use something like
:set ff=unix
might work as well if you try
:set all
to get
uot;Ray Madigan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 11:25 AM
Subject: [OT] - dos file
> I just got back from a week business trip and used wordpad to
> edit all of my struts code. Now all of my
sers Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, June 12, 2003 11:25 AM
Subject: [OT] - dos file
> I just got back from a week business trip and used wordpad to
> edit all of my struts code. Now all of my files say dos when
> I look at them in vi. Does anyone know of a c
I just got back from a week business trip and used wordpad to
edit all of my struts code. Now all of my files say dos when
I look at them in vi. Does anyone know of a command to convert
them back. I assume it is because of the line terminator being
different on the Redmond OS. I usually use Li
9 matches
Mail list logo