Or if you don't have (dos2unix|unix2dos), you can run:

perl -p -i -e 's|\r\n|\n|g' filename

        -sc

On Thu, Mar 08, 2001 at 10:45:36AM -0500, [EMAIL PROTECTED] wrote:
> Delivered-To: [EMAIL PROTECTED]
> Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm
> Precedence: bulk
> Delivered-To: mailing list [EMAIL PROTECTED]
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Subject: RE: NAKEDWIFE.EXE Virus - Filter available
> Date: Thu, 8 Mar 2001 10:45:36 -0500
> X-Priority: 3 (Normal)
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> In-Reply-To: 
> Importance: Normal
> 
> Solaris has a handy utility called "dos2unix" that strips ^M characters out of text 
>files.  Perhaps your OS has a similar utility?
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> Peter Peltonen
> Sent: Thursday, March 08, 2001 9:50 AM
> Cc: qmail list
> Subject: Re: NAKEDWIFE.EXE Virus - Filter available
> 
> 
> mick wrote:
> 
> > When I opened the scripts they had the windows ^m character at the end of
> > each line. I was getting the same error until I removed them.
> 
> When I open the file in pico or vim, I don't see those characters.
> 
> With what program do I find and remove the characters?
> 
> 
> Regards,
> Peter
> 

-- 
Sean Chittenden                [EMAIL PROTECTED]

PGP signature

Reply via email to