I have a file in which i want to print all the lines between 2 defined strings. Ex- I have file with data as follows
STEP1:-
----- has some 20 -30 lines of data
STEP2:-
----- has some 20 -30 lines of data
So i want to print those lines between STEP1 & STEP2. (line including STEP1)
Hi Ghostdog
But if want to use same syntax bt here the value for STEP1 and STEP2 is not hard coded but if i want to pass these value through varialble thn how can i acheive this n how can i define the variable