How to select lines between two marker patterns which may occur multiple times with awk/sed How to select lines between two marker patterns which may occur multiple times with awk/sed unix unix