Alan Coopersmith wrote:
> Kyle McDonald wrote:
>   
>> But since /usr/ucb/ps currently takes 'aux' or '-aux' (for example) then 
>> if invoked as /usr/ucb/ps, or found through PATH=/usr/ucb:..., then I 
>> think it's correct to continue the /usr/ucb behavior.
>>     
>
> This could be as simple as borrowing the PS_PERSONALITY variable from
> GNU ps (though only supporting the "sunos" and "sysv" options as valid
> settings), and then making /usr/ucb/ps a wrapper that setenvs PS_PERSONALITY
> to sunos before calling /usr/bin/ps.
>
>   
It could.

Though I beleive the net effect of that won't be any different (other 
than other uses for the env. var.) than if the code key's off argv[0].

Everyone seems to agree to merge the code. The difference of opinion 
seems to be whether the new merged behavior should be available in both 
/usr/ucb/ps and /usr/bin/ps, or only in /usr/bin/ps.

Either way there's only one ps source to maintain, so that in itself is 
a win.

  -Kyle

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to