RE: [OT] - dos file

2003-06-13 Thread Higdon, Brian [VIS-Non JJ]
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

RE: [OT] - dos file

2003-06-13 Thread Mark Galbreath
there is a DOS2UNIX util somewhere you can prob find with Google. -Original Message- From: Higdon, Brian [VIS-Non JJ] [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/software/cygwin

Re: [OT] - dos file

2003-06-13 Thread Aaron Longwell
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

[OT] - dos file

2003-06-12 Thread Ray Madigan
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

Re: [OT] - dos file

2003-06-12 Thread James Mitchell
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 command to convert them back. I assume it is because

Re: [OT] - dos file

2003-06-12 Thread David Graham
[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 files say dos when I look at them in vi. Does anyone know

Re: [OT] - dos file

2003-06-12 Thread Mark Lowe
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

RE: [OT] - dos file

2003-06-12 Thread szhu
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. David

Re: [OT] - dos file

2003-06-12 Thread Gregory F. March
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). religion If you're using linux, you should be using xemacs