### character test second line third line ### after the command ":set list ### character test$ second line$ third line$ ### Some times, the characters is ^M and to replace all in file, or you use dos2unix command or in vi, put the command ":%s/^M//g" Ps. To put ^M, you need press CTRL+V and CTRL+M Cheers Waldirio On Tue, Jan 6, 2009 at 12:36 AM, J. Dex <cemail_219@xxxxxxxxxxx> wrote: > Thanks for everyone's help. I ran dos2unix on the script and it fixed it. > Even though I couldn't see any DOS characters, they must have been there > somewhere because this fixed the problem. > > ________________________________ > From: Brandon.Allen@xxxxxxxxxxx > To: cemail_219@xxxxxxxxxxx; oracle-l@xxxxxxxxxxxxx > Date: Mon, 5 Jan 2009 16:54:50 -0700 > Subject: RE: Backup script runs on AIX but not on Linux > > Did you copy it through Windows at some point? Maybe it got DOS characters > in the file? When you open it with vi on linux, check to see if it says > [dos] at the bottom. If it does, then you can run dos2unix on the file to > fix it. > > > > Regards, > > Brandon > > > > ________________________________ > Privileged/Confidential Information may be contained in this message or > attachments hereto. Please advise immediately if you or your employer do not > consent to Internet email for messages of this kind. Opinions, conclusions > and other information in this message that do not relate to the official > business of this company shall be understood as neither given nor endorsed > by it. > > ________________________________ > It's the same Hotmail(R). If by "same" you mean up to 70% faster. Get your > account now. -- ______________ Atenciosamente Waldirio msn: waldirio@xxxxxxxxx Site: www.waldirio.com.br Blog: blog.waldirio.com.br PGP: www.waldirio.com.br/public.html -- //www.freelists.org/webpage/oracle-l