Hi,
I have a file which contains the following :
conn scale/****@bill;
conn audit/****@accounts;
conn ledger/****@receive;
drop synonym tested;
drop synonym checked;
conn rule/****@stats;
drop synonym booked;
drop synonym billed;
drop synonym removed;
.....................
1) I want the connect statements, with no drop statements under them, to be removed ...
2) And each conn statement should have a blank statement before and after it ...
The required output is as follows :
conn ledger/****@receive;
drop synonym tested;
drop synonym checked;
conn rule/****@stats;
drop synonym book;
drop synonym billed;
drop synonym removed;
...................
Can anyone help me please ?
Thanx
-Maria
I have a file which contains the following :
conn scale/****@bill;
conn audit/****@accounts;
conn ledger/****@receive;
drop synonym tested;
drop synonym checked;
conn rule/****@stats;
drop synonym booked;
drop synonym billed;
drop synonym removed;
.....................
1) I want the connect statements, with no drop statements under them, to be removed ...
2) And each conn statement should have a blank statement before and after it ...
The required output is as follows :
conn ledger/****@receive;
drop synonym tested;
drop synonym checked;
conn rule/****@stats;
drop synonym book;
drop synonym billed;
drop synonym removed;
...................
Can anyone help me please ?
Thanx
-Maria