Re: ps(1) bugs and problems

2023-08-22 Thread Piotr P. Stefaniak
On 2023-08-15 13:28:07, Jamie Landeg-Jones wrote: The old -d and the new -D'$^' would be the best in that -d would go back to what it was and -D would provide the much needed feature in two variants (possibly more in the future, if needed) while only taking one option-letter. The only problem is

Re: ps(1) bugs and problems

2023-08-15 Thread Jamie Landeg-Jones
"Piotr P. Stefaniak" wrote: > On 2023-08-11 12:32:02, Jamie Landeg-Jones wrote: > >How about reverting '-d', and adding "-D" for descending, and "-A" for > >ascending? > > I don't like that, because it would take three option-letters in total > to implement the same function in different variant

Re: ps(1) bugs and problems

2023-08-14 Thread Piotr P. Stefaniak
On 2023-08-11 12:32:02, Jamie Landeg-Jones wrote: How about reverting '-d', and adding "-D" for descending, and "-A" for ascending? I don't like that, because it would take three option-letters in total to implement the same function in different variants. The old -d and the new -D'$^' would

Re: ps(1) bugs and problems

2023-08-11 Thread Jamie Landeg-Jones
"Piotr P. Stefaniak" wrote: > I thought about this more and the change I proposed in > https://reviews.freebsd.org/D41231 seems unnecessarily complicated, > regardless of which characters will be chosen to denote going up and > down the process tree. ps -D'^$' suggests there are possibly more > c

Re: ps(1) bugs and problems

2023-08-10 Thread Piotr P. Stefaniak
I thought about this more and the change I proposed in https://reviews.freebsd.org/D41231 seems unnecessarily complicated, regardless of which characters will be chosen to denote going up and down the process tree. ps -D'^$' suggests there are possibly more characters to use and maybe even some ki

Re: ps(1) bugs and problems

2023-07-29 Thread Piotr P. Stefaniak
On 2023-07-29 00:07:37, Jamie Landeg-Jones wrote: I have a program that produces a list of PIDS, that are supplied via '-p' to /bin/ps and are sorted with '-d'. What language is it written in? What is the use case? After a late upgrade on a particular machine, I've just been bitten by the mod