delete empty lines for --- for each coding block