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

This shell command returns all paragraphs of a file containing the given pattern (here it is "my_pattern").

perl -n000e 'print if /my_pattern/' my_file.txt