I have one command which is used to extract lines between two string patterns \'string1\' and \'string2\'. This is stored in variable called \'var1\'.
var1=$(