It sounds like you need sed:
sed -n '/pattern/,/^$/p' file
Don’t print by default (-n). For lines that match /pattern/ up to an empty line /^$/, print.
It sounds like you need sed:
sed -n '/pattern/,/^$/p' file
Don’t print by default (-n). For lines that match /pattern/ up to an empty line /^$/, print.