Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Handling ^M's in text files

Re: Handling ^M's in text files

From: Martin Doherty <martin.doherty_at_oracle.comX>
Date: Wed, 23 Oct 2002 13:12:45 -0700
Message-ID: <8uDt9.1$Jj1.176@news.oracle.com>


Check your unix system for commands called dos2unix and unix2dos (also try google search on these names). These utilities were designed to solve your problem.

Martin

Ubiquitous wrote:

>I'm sure this is a silly question, but sometimes when one FTPs
>files bewteen a DOS and UNIX environment, the "end of line"
>markers show up as "^M" in the file. Is there a utl_file
>package one can use to scrub these from a file? I sppse one
>could rewrite the file sans the last character, but one would
>then have to test for "^M" to keep from dropping characters
>without the markers in it...
>
>
>
>
Received on Wed Oct 23 2002 - 15:12:45 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US