Joseph Herlant
version 1.0.0, 2013-10-19 : Initial version

This shell command returns all lines between 2 given patterns including the lines where the pattern stands.

Here the patterns are "retium enim" for the begining and "porta massa" for the end.

perl -ne 'print if /pretium enim/../porta massa/' text_file.txt