version 1.0.0, 2013-10-19 : Initial version
Extract paragraphs containing a specific pattern
A perl one-liner to extract a given pattern to extract the paragraphs containing a given pattern.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