This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Possible bug in pgrep (procps)
- From: "Bengt-Arne Fjellner" <Bengt-Arne dot Fjellner at ltu dot se>
- To: cygwin at cygwin dot com
- Date: Tue, 18 Jul 2006 00:00:46 +0200 (CEST)
- Subject: Possible bug in pgrep (procps)
pgrep from procps-3.2.6-1 when asking for an exact match with arguments seems to
demand an extra space after the argument.
See the following sequence.
No space after the f on the commandline
$ emacs f&
[1] 2072
without extra space
$ pgrep -x -f "emacs f"
with extra space after f
$ pgrep -x -f "emacs f "
2072
Bug or my misunderstanding ?
--
Bengt-Arne Fjellner
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/