The UNIX and Linux Forums  

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



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Trimming the spaces sharif UNIX for Advanced & Expert Users 3 07-07-2008 07:26 AM
trimming zeros mohan705 UNIX for Advanced & Expert Users 3 03-23-2008 10:38 AM
Trimming a string fastgoon Shell Programming and Scripting 2 07-27-2006 01:02 PM
SCO 3.2v5.05Eb: ? on trimming strings gee-dub UNIX for Dummies Questions & Answers 4 04-19-2002 03:59 AM
trimming a file... alwayslearningunix UNIX for Dummies Questions & Answers 1 04-23-2001 03:33 PM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-26-2009
crackthehit007 crackthehit007 is offline
Registered User
  
 

Join Date: Feb 2009
Location: Pune/Banagalore
Posts: 71
Exclamation trimming lines

hi have output as
Quote:
SQL> select DBMS_METADATA.GET_DDL('INDEX','I_QOSSYSTA2IRAQOS_____N') from dual;

CREATE INDEX "UMTSD26"."I_QOSSYSTA2IRAQOS_____N" ON "UMTSD26"."QOSSYSTA2IRAQOS
_____N" ("UNID")
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT) LOCAL
(PARTITION "PARTITION_ON_2009_09_21"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
( SUBPARTITION "PARTITION_ON_2009_09_21_SP1"
TABLESPACE "MUSE") ,
PARTITION "PARTITION_ON_2009_09_22"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
( SUBPARTITION "PARTITION_ON_2009_09_22_SP1"
TABLESPACE "MUSE") ,
PARTITION "PARTITION_ON_2009_09_23"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
( SUBPARTITION "PARTITION_ON_2009_09_23_SP1"
TABLESPACE "MUSE") ,
PARTITION "PARTITION_ON_2009_09_24"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
( SUBPARTITION "PARTITION_ON_2009_09_24_SP1"
TABLESPACE "MUSE") ,
PARTITION "PARTITION_ON_2009_09_25"
PCTFREE 10 INITRANS 2 MAXTRANS 255
STORAGE(
BUFFER_POOL DEFAULT)
( SUBPARTITION "PARTITION_ON_2009_09_25_SP1"
TABLESPACE "MUSE") )



SQL> prompt ;;
;
SQL> spool off;

i have trim of lines before CREATE statement and lins after last ")"


any idea how to achieve it ?
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0