RE: Backup script runs on AIX but not on Linux

  • From: "J. Dex" <cemail_219@xxxxxxxxxxx>
  • To: <brandon.allen@xxxxxxxxxxx>, <oracle-l@xxxxxxxxxxxxx>
  • Date: Mon, 5 Jan 2009 21:36:45 -0500

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@xxxxxxxxxxxxx: cemail_219@xxxxxxxxxxx; 
oracle-l@xxxxxxxxxxxxxxxxx: Mon, 5 Jan 2009 16:54:50 -0700Subject: 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.

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®. If by “same” you mean up to 70% faster.

Other related posts: