RE: Backup script runs on AIX but not on Linux

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 6 Jan 2009 11:44:17 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E10A33691FA_at_ONEWS06.oneneck.corp>



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_at_evdbt.com]

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.
--
http://www.freelists.org/webpage/oracle-l
Received on Tue Jan 06 2009 - 12:44:17 CST

Original text of this message