Actually, if I had ftp'd the files I probably would have used ascii
I used an SMB mount to copy the files. Never crossed my mind that CRLF
would be an issue. Rarely is anymore, but...
Wanted to let the world know there's an easy way to convert files with vi.
Wish I know how to do it with emacs... ;-) Didn't take long to figure it
out with vi, so I went that route.
(BTW who's the joker at Microsoft that thinks ctrl-p should print things?)
""Peter J. Krawetzky"" <[EMAIL PROTECTED]> wrote in message
000c01c09cf2$c00a8ef0$[EMAIL PROTECTED]">news:000c01c09cf2$c00a8ef0$[EMAIL PROTECTED]...
> If you ftp'ed your file as binary, then the CRLF would not work correctly.
> Try ftp'ing as ascii next time and you shouldn't have to go through the
> extra steps on unix.
> Peter J. Krawetzky
> -----Original Message-----
> From: Joe Brown <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
> Date: Thursday, February 22, 2001 12:08 PM
> Subject: Re: [PHP-DB] ORA-12154: TNS:could not resolve service name in XXX
> >I had a similar problem.
> >Worked up a tnsnames.ora file on windoz machines. Thought it would be no
> >big deal if it was copied over to linux and used. But there is a big
> >Oracle can't handle the <CR><NL> character sequence, in a unix
> >Go figure...
> >There used to be a dos2unix program lying around my linux box. A couple
> >distributions later, I find none..
> >vi works well though..
> >$ vi tnsnames.ora
> >:set ff=unix
> >Did the trick for me, HTH.
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]