I have one sql file that contain some data in this file some line as follow:
INSERT a=1 , b=2;
INSERT a=2 , b=10;
like that so many lines are there i want to fetch these lines that contain "INSERT" keyword till semicolon and create a new file and save it into the new file.
using shell script.