RE: Backup script runs on AIX but not on Linux

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 ;-)

Regards,
Brandon

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: