From owner-freebsd-arch@FreeBSD.ORG Fri Jun 4 12:40:55 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE31F16A4CE for ; Fri, 4 Jun 2004 12:40:55 -0700 (PDT) Received: from ioskeha.hittite.isp.9tel.net (ioskeha.hittite.isp.9tel.net [62.62.156.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5353943D3F for ; Fri, 4 Jun 2004 12:40:55 -0700 (PDT) (envelope-from root@gits.dyndns.org) Received: from mail.gits.dyndns.org (unknown [84.97.145.139]) by ioskeha.hittite.isp.9tel.net (Postfix) with ESMTP id B4F5F17B833 for ; Fri, 4 Jun 2004 21:41:26 +0200 (CEST) Posted-Date: Fri, 4 Jun 2004 21:39:36 +0200 (CEST) X-Envelope-To: Received: from mail.gits.dyndns.org (IDENT:9g5v0hy498j0isih@localhost [127.0.0.1])i54JdFMt069945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Jun 2004 21:39:36 +0200 (CEST) (envelope-from root@gits.dyndns.org) Received: (from root@localhost) by mail.gits.dyndns.org (8.12.11/8.12.11/Submit) id i54JX9kj040764 for freebsd-arch@FreeBSD.org; Fri, 4 Jun 2004 21:33:09 +0200 (CEST) (envelope-from root) Message-Id: <200406041933.i54JX9kj040764@mail.gits.dyndns.org> From: "Cyrille Lefevre" To: Date: Thu, 3 Jun 2004 22:13:24 +0200 Organization: ACME MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-UID: 6820 Sender: root@gits.dyndns.org X-Spam-Status: No, hits=-98.033 required=5 tests=DATE_IN_PAST_12_24,FORGED_MUA_OUTLOOK,USER_IN_WHITELIST X-Scanned-By: MIMEDefang 2.39 Subject: Re: Change to "kludge option processing" in /bin/ps X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 19:40:55 -0000 why this message does not reach -arch ? don't know if Garance reeived it also ? "Garance A Drosihn" wrote: > At 5:08 PM +0200 5/31/04, Cyrille Lefevre wrote: > > > >before to commit new changes, think about how to fix the > >following ones :) > > > ># ps -p ,, > > PID TT STAT TIME COMMAND > > 0 ?? ZW 0:00.00 (sshd) > ># psx -p ,, > >psx: no process id specified > > The above issue was pretty trivial to fix, and I have committed a > change which should fix it. ok, let's try another issue : # ps -G " nobody " PID TT STAT TIME COMMAND 75483 con- S 0:10.97 /usr/local/sbin/junkbuster configfile # ps -G ,nobody, ps: Invalid (zero-length) group name ps: Invalid (zero-length) group name # ps -G , ps: Invalid (zero-length) group name ps: Invalid (zero-length) group name instead of : # ps -G " nobody " PID TT STAT TIME COMMAND 75483 co- S 0:10.97 /usr/local/sbin/junkbuster configfile # ps -G ,nobody, PID TT STAT TIME COMMAND 75483 co- S 0:10.97 /usr/local/sbin/junkbuster configfile # ps -G , psx: no group name or id specified why do you make a difference while parsing commas and spaces ? in other words, ignore empty values (which may be generated by a shell script, so, don't warn), except if all values are empty. Cyrille Lefevre. -- home: mailto:cyrille.lefevre@laposte.net