I needed to find all the files that contained a specific string pattern. The first solution that comes to mind is using find piped with xargs grep:
@Marcin: awk example non-greedy:
awk '{if ($0 ~ /Start pattern/) {triggered=1;}if (triggered) {print; if ($0 ~ /End pattern/) { exit;}}}' filename