From nobody@FreeBSD.ORG  Thu Jun  8 06:05:38 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 1A0BA37BB3C; Thu,  8 Jun 2000 06:05:38 -0700 (PDT)
Message-Id: <20000608130538.1A0BA37BB3C@hub.freebsd.org>
Date: Thu,  8 Jun 2000 06:05:38 -0700 (PDT)
From: jan.grant@bristol.ac.uk
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: ps(1) to support SysV-style options?
X-Send-Pr-Version: www-1.0

>Number:         19124
>Category:       misc
>Synopsis:       ps(1) to support SysV-style options?
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          wish
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 08 06:10:02 PDT 2000
>Closed-Date:    Fri Nov 16 18:56:17 PST 2001
>Last-Modified:  Fri Nov 16 19:08:10 PST 2001
>Originator:     jan grant
>Release:        4.0-Stable
>Organization:
ILRT, University of Bristol
>Environment:
FreeBSD tribble.ilrt.bris.ac.uk 4.0-STABLE FreeBSD 4.0-STABLE #0: Wed Jun  7 09:34:59 BST 2000     cmjg@tribble.ilrt.bris.ac.uk:/usr/src/sys/compile/JAN  i386

>Description:
ps only supports BSD options. On systems where both argument syntaxes
are available, one can select BSD-style options or SysV-style options
by omitting or including the leading option identifier (the hyphen):
	ps auxgww		(BSD-style options)
	ps -ef			(SysV-style options)
Would it be possible to update ps(1) to use both option styles?
>How-To-Repeat:

>Fix:
Eg: AIX supports the dual-flavour options.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: iedowse 
State-Changed-When: Fri Nov 16 18:56:17 PST 2001 
State-Changed-Why:  

Realistically, I don't think this is likely to happen, although a 
ps supporting SysV arguments could be done as a port. FreeBSD's ps 
supports only BSD-style options simply because it is a BSD ps. Also 
the leading `-' is part of the documented way to specify arguments 
to FreeBSD's ps, so using it to signify SysV arguments would break 
countless scripts and confuse users. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=19124 
>Unformatted:
