From owner-freebsd-questions Mon Jan 7 11:45:25 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lion.com.ua (lion.com.ua [213.133.161.130]) by hub.freebsd.org (Postfix) with ESMTP id 25C4037B416 for ; Mon, 7 Jan 2002 11:45:18 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by lion.com.ua (8.11.6/8.11.6) with ESMTP id g07JjDw40616 for ; Mon, 7 Jan 2002 21:45:14 +0200 (EET) (envelope-from sa@simon.org.ua) Date: Mon, 7 Jan 2002 21:45:12 +0200 (EET) From: Andrey Simonenko X-X-Sender: sa@lion.com.ua To: freebsd-questions@freebsd.org Subject: What is the sense of the -c option in killall(1) ? Message-ID: <20020107212311.L40428-100000@lion.com.ua> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all! According to the killall(1) manual page the "-c progname" option "when used with the -u ant -t flags, limits potentially matching processes to those matching the specified progname". According to the source of killall(1) the -c option doesn't have anything common with the -u and -t options. Also killall(1) always checked procnames passed in the command line and the -c option is useful only with the -m flag, in this case it (the -c option) limits potentially mathing processes to those matching the specified POSIX regular expression. But in this case the -c option used with the -m flag also duplicates given in the command line procnames. So, here is my question. What is the sense and purpose of the -c option? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message