From nobody Tue Aug 15 12:28:07 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RQ9XW6rSkz4mJWm for ; Tue, 15 Aug 2023 12:28:11 +0000 (UTC) (envelope-from jamie@catflap.org) Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [IPv6:2001:19f0:7400:8808:123::1]) by mx1.freebsd.org (Postfix) with ESMTP id 4RQ9XW2Q7bz3XkG; Tue, 15 Aug 2023 12:28:10 +0000 (UTC) (envelope-from jamie@catflap.org) Authentication-Results: mx1.freebsd.org; none X-Catflap-Envelope-From: Received: from donotpassgo.dyslexicfish.net (donotpassgo.dyslexicfish.net [209.250.224.51]) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5) with ESMTP id 37FCS7Au063977; Tue, 15 Aug 2023 13:28:08 +0100 (BST) (envelope-from jamie@donotpassgo.dyslexicfish.net) Received: (from jamie@localhost) by donotpassgo.dyslexicfish.net (8.14.5/8.14.5/Submit) id 37FCS78i063976; Tue, 15 Aug 2023 13:28:07 +0100 (BST) (envelope-from jamie) From: Jamie Landeg-Jones Message-Id: <202308151228.37FCS78i063976@donotpassgo.dyslexicfish.net> Date: Tue, 15 Aug 2023 13:28:07 +0100 Organization: Dyslexic Fish To: pstef@freebsd.org, jamie@catflap.org Cc: freebsd-current@freebsd.org Subject: Re: ps(1) bugs and problems References: <202307282307.36SN7b7v026284@donotpassgo.dyslexicfish.net> <202308111132.37BBW23A064898@donotpassgo.dyslexicfish.net> In-Reply-To: User-Agent: Heirloom mailx 12.4 7/29/08 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (donotpassgo.dyslexicfish.net [209.250.224.51]); Tue, 15 Aug 2023 13:28:08 +0100 (BST) X-Rspamd-Queue-Id: 4RQ9XW2Q7bz3XkG X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:20473, ipnet:2001:19f0:7400::/38, country:US] "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 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