doccheck: grep for all lines with a warning
Merge pull request #2180 from OlegHahm/doccheck_fix_grep_sed

doccheck: grep for all lines with a warning