From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 4 16:02:31 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A63361065693 for ; Thu, 4 Feb 2010 16:02:31 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-fx0-f225.google.com (mail-fx0-f225.google.com [209.85.220.225]) by mx1.freebsd.org (Postfix) with ESMTP id 2F5998FC0A for ; Thu, 4 Feb 2010 16:02:30 +0000 (UTC) Received: by fxm25 with SMTP id 25so651417fxm.34 for ; Thu, 04 Feb 2010 08:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; bh=H12YKGnBZgyXMmMh294lNI6kBSExMW/Ywr5BzDXWFlo=; b=UWudRtMLPeCcNSM0MMDD3ZwKJSV5+0FIwLKxa2kAVF5xAD7DTfcin8qr/RAWHYeJi3 tX6Ob3ii3fImi3tEJ3IGPNiVF0PH0wZ41QKmr/njmzlsScfzAE8N+Zmtz2GTK7N5Gbxw SrffECZkrWYgGFAuPDqcjzBuCkGlUH4BtmXQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type; b=Cs2s4MNg1MBTEFyj8+0w6zh0YhOVuML1w9Fb9lun4rtJ42C2lx1VGaNbeYkNjTDRSQ ENePr1It2SioIE5xqf9UG+uqEQySBZVVYY/ia2SGuP5naD3x9udQq/ZD43Dm/6rdH7KN 2lpLcqzu1nV8EHsgL79uq31OipAu/2fV2b7G4= Received: by 10.223.6.89 with SMTP id 25mr1301499fay.89.1265299349943; Thu, 04 Feb 2010 08:02:29 -0800 (PST) Received: from ppp-21.223.dialinfree.com (ppp-21.223.dialinfree.com [209.172.21.223]) by mx.google.com with ESMTPS id 16sm129801fxm.8.2010.02.04.08.02.25 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 04 Feb 2010 08:02:28 -0800 (PST) Sender: "J. Hellenthal" Date: Thu, 4 Feb 2010 11:01:57 -0500 From: jhell To: Eitan Adler In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: FreeBSD Hackers , Jason Spiro Subject: Re: [RFC] [patch] pkill verbose option X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2010 16:02:31 -0000 On Thu, 4 Feb 2010 05:01, eitanadlerlist@ wrote: > This patch hijacks pgrep's -l > [cut] This particular section of the patch should probably be left out until its worked over in a way that it does not print the info message if a process has been found and killed already. if (!didAction && !pgrep) { printf("No matching processes belonging to you were found\n"); } Thanks for the re-patch, quick and resourceful... ;) -- jhell