Hello All,
i have a file with the contents like shown below
Name = POLICY1
Selected = 1
Written = 0
Name = POLICY2
Selected = 6
Written = 8
Name = POLICY3
Selected = 4
Written = 26
I want the output to be like
POLICY1 1 0
POLICY2 6 8
POLICY3 4 26
can some one please help produce this output. i am not sure how to get the next 2 line below a given pattern/line.