perldoc -m Inline #### perl -ne '/^=/../^=cut/ or print' file