perl -ne 's/^/ $i $j /g && print if /START $i/ .. /END $j/ ' file [download]
In reply to Search between pattern and append by Anonymous Monk