www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
X-T2-Posting-ID: | dCnToGxhL58ot4EWY8b+QGwMembwLoz1X2yB7MdtIiA= |
X-Cloudmark-Score: | 0.000000 [] |
Date: | Tue, 18 Jul 2006 00:09:23 +0200 |
From: | Samuel Thibault <samuel DOT thibault AT ens-lyon DOT org> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Possible bug in pgrep (procps) |
Message-ID: | <20060717220923.GD4546@bouh.residence.ens-lyon.fr> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <3820 DOT 130 DOT 240 DOT 136 DOT 130 DOT 1153173646 DOT squirrel AT pinus DOT tt DOT luth DOT se> |
Mime-Version: | 1.0 |
In-Reply-To: | <3820.130.240.136.130.1153173646.squirrel@pinus.tt.luth.se> |
User-Agent: | Mutt/1.5.9i-nntp |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |