Hello,
I have a file which contains something like:
STORAGE(INITIAL 50380800 NEXT 8388608 MINEXTENTS 1 MAXEXTENTS
2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "PS_MEDIUM" ;
I need to remove everything starting from STORAGE to "".
I was thinking to use sed 's/STORAGE\(.*\)//g but this only delete from STORAGE to end of the line which is MAXEXTENTS in this case.
Is there any way to have this done?
Thanks!
I have a file which contains something like:
STORAGE(INITIAL 50380800 NEXT 8388608 MINEXTENTS 1 MAXEXTENTS
2147483645 PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL
DEFAULT) TABLESPACE "PS_MEDIUM" ;
I need to remove everything starting from STORAGE to "".
I was thinking to use sed 's/STORAGE\(.*\)//g but this only delete from STORAGE to end of the line which is MAXEXTENTS in this case.
Is there any way to have this done?
Thanks!