From owner-freebsd-questions Tue Aug 20 15:33: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4958F37B400 for ; Tue, 20 Aug 2002 15:33:00 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B0E2943E6A for ; Tue, 20 Aug 2002 15:32:59 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g7KMWFB11583; Tue, 20 Aug 2002 18:32:15 -0400 (EDT) From: Jerry McAllister Message-Id: <200208202232.g7KMWFB11583@clunix.cl.msu.edu> Subject: Re: help a poor refuge from SCO UNIX (SysV) To: dnelson@allantgroup.com (Dan Nelson) Date: Tue, 20 Aug 2002 18:32:15 -0400 (EDT) Cc: jerrymc@clunix.cl.msu.edu (Jerry McAllister), bts@babbleon.org (Brian T. Schellenberger), bill@techservsys.com (bill), freebsd-questions@FreeBSD.ORG In-Reply-To: <20020820221951.GA86652@dan.emsphone.com> from "Dan Nelson" at Aug 20, 2002 05:19:51 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 > > In the last episode (Aug 20), Jerry McAllister said: > > > On Tuesday 20 August 2002 11:03 am, Dan Nelson wrote: > > > | Note: some systems will process both BSD and SYSV ps arguments, > > > | depending on whether you start with a dash. To be safe, always > > > | leave the dash off when using BSD flags. "ps ax". > > > > > > Hmmm . . . but the FreeBSD man page documents using the dash for > > > the BSD options. It always makes mea little nervous to > > > deliberately depart from the man page. > > > > Use it the way the man page says. I don't understand that previous > > statement being so generalized or universally made. In my experience > > using the minus almost always works except for a couple of things and > > there seem to be plenty that are unfriendly without it. > > To be specific: Tru64 and Linux both process ps commandline arguments > this way. > > Linux: Unix options may be grouped and must be preceeded by a dash. > BSD options may be grouped and must not be used with a dash. > GNU long options are preceeded by two dashes. > > Tru64: > ps [-aAdejflm] [-o specifier] [=header] ,... [-O specifier] [=header] > ,... [-g glist] [-G glist] [-p plist] [-s slist] [-t tlist] [-u > ulist] [-U ulist] [-n nlist] > > [Tru64 UNIX] The following BSD compatible options can be used with > ps (note that these options are not prefixed with a - (dash) > character): > > ps [aAeghjlLmsSTuvwx] [o specifier] [=header] ,... [O specifier] > ,... [=header] [t tty] [process_number] > Sure. But what I said is still true. It works that way. ////jerry > > -- > Dan Nelson > dnelson@allantgroup.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message