The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-02-2009
scottn scottn is offline Forum Advisor  
VIP Member
  
 

Join Date: Jun 2009
Location: Zürich, CH
Posts: 1,134
You mean the pasted data looks like this...


Code:
DAY_OF_WK_NAME_UPR VARCHAR2(20 CHAR),
        DAY_OF_WK_NBR_SAT NUMBER,
                DAY_OF_WK_NBR_SUN NUMBER,
                        DAY_OF_WK_NBR_MON NUMBER,
  ...

Then you need to ":set noai" (from command mode - to get there, press Esc. Then : (colon) set noai (meaning no auto-indent). Then paste again.)

You can change this "auto-indent" behaviour permanently by editiing ~/.ex.rc (or some such). Use


Code:
:set

From the VI command mode to see what is set.

Last edited by scottn; 07-02-2009 at 06:00 PM..