I'm, looking for an instruction that will allow me to search a file, grab a heading and list everything under the heading until the next blank line and/or enable me to pipe into another command.
Maybe awk is overkill for this, and someone may want to verify that "^\n" will match a blank line. Notice also that this prints the entire "paragraph" but you can print selective lines by changing "print $0" to some other record number.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.