RE: Backup script runs on AIX but not on Linux

  • From: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
  • To: "tim@xxxxxxxxx" <tim@xxxxxxxxx>, "oracle-l@xxxxxxxxxxxxx" <oracle-l@xxxxxxxxxxxxx>
  • Date: Tue, 6 Jan 2009 11:44:17 -0700

Hi Tim, I tested that and I can't speak for all flavors of Linux/vi, but on my 
Oracle Enterprise Linux, ":set list" does not show the control characters.  
Also, dos2unix will get rid of the control characters without having to 
remember that horrible vi command ;-)


From: Tim Gorman [mailto:tim@xxxxxxxxx]

The "vi" command "set list" will do the same

To get rid of the "invisible" carriage-return (i.e. "^M") characters, you can 
use the "vi" command ":s/^V^M//"

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.

Other related posts: