X-Debbugs-Cc: [email protected]
Package: procps
Version: 2:3.3.12-3
Severity: wishlist
File: /usr/bin/pgrep

One sees

       -F, --pidfile file
              Read PID's from file.  This option is perhaps  more  useful  for
              pkill than pgrep.

OK, but also please allow specifying them on the command line. Else big hassle:
$ echo 12345 | pgrep -F -
pgrep: pidfile not valid
Try `pgrep --help' for more information.
$ echo 12345 | pgrep -F /dev/stdin
pgrep: pidfile not valid
Try `pgrep --help' for more information.
$ echo 12345 > /tmp/g; pgrep -F /tmp/g

I mean imagine a kill command that doesn't accept PIDs !?

Reply via email to