Re: ps(1) bugs and problems

From: Jamie Landeg-Jones <jamie_at_catflap.org>
Date: Tue, 15 Aug 2023 12:28:07 UTC
"Piotr P. Stefaniak" <pstef@freebsd.org> 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 variants.

Yeah, I can see that.

> 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 that it looks ugly.

I see why you chose "$" and "^", but wouldn't it look more friendly if
you instead used "up" and "down" or "A" and "D" or "forwards" and "backwards",
for example?

> For the record, just -d'$^' is impossible, because it would break
> existing command invocations.

Yeah, I can see that.

Cheers, Jamie