Skip to content

pgrep: warning about 15+ chars name only if zero matches found

Jan Rybar requested to merge jrybar/procps:pgrep_long_pattern_warn into master

This avoids situations where longer regex which matches short-named proc is used.
pgrep now raises a warning if long pattern (>15 chars) is used and it matches nothing.
Test for pgrep updated.

Merge request reports