Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 18:32:15 -0400 (EDT)
From:      Jerry McAllister <jerrymc@clunix.cl.msu.edu>
To:        dnelson@allantgroup.com (Dan Nelson)
Cc:        jerrymc@clunix.cl.msu.edu (Jerry McAllister), bts@babbleon.org (Brian T. Schellenberger), bill@techservsys.com (bill), freebsd-questions@FreeBSD.ORG
Subject:   Re: help a poor refuge from SCO UNIX (SysV)
Message-ID:  <200208202232.g7KMWFB11583@clunix.cl.msu.edu>
In-Reply-To: <20020820221951.GA86652@dan.emsphone.com> from "Dan Nelson" at Aug 20, 2002 05:19:51 PM

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208202232.g7KMWFB11583>