Possible bug in pgrep (procps)

Samuel Thibault samuel.thibault@ens-lyon.org
Mon Jul 17 22:49:00 GMT 2006


Bengt-Arne Fjellner, le Tue 18 Jul 2006 00:00:46 +0200, a écrit :
> 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 ?

At least linux doesn't want the extra space:
€ sleep 1h &
€ pgrep -x -f "sleep 1h"
6974
7422
€ pgrep -x -f "sleep 1h "
Samuel
--
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/


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /