I have a file called file.txt
on Linux, containing:
sqlplus -s insert into table;
commit;
!
sqlplus -s insert into table;
commit;
!
sqlplus -s insert into table;
commit;
!
.
.
I want to create multiple files as shown below:
File1.txt:-
sqlplus -s insert into table;
commit;
!
File2.txt
sqlplus -s insert into table;
commit;
!
sqlplus
and then a line with just!
? Or something else? We need to know how you want us to split.