From nobody Mon Aug 14 22:29:48 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 4RPpx91fQpz4mT1Z for ; Mon, 14 Aug 2023 22:29:49 +0000 (UTC) (envelope-from pstef@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RPpx90wHxz4bbt; Mon, 14 Aug 2023 22:29:49 +0000 (UTC) (envelope-from pstef@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692052189; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u90kH29ZNzl3gT4NVCrf277vXM6E/M+qWUZJQI93IM4=; b=XQf1GbZBmHI1EaYKB3k/6v2NHI/vpnclZR8ksfqY9bj25oGau06N1U1LpDaAOt2VDXAkLG p/Ya7kQpAySAsB0o0JuiS2kWS242r3tB+XH0ElYKlnA35a9Sf2/Bujuk31O7nAL4ytE0Co tNmfyhZ40n09MMgxHREzI9xFIL+8gODeUygKS0eSvmrEdC5NGZ3S2cZqvFBKsak7woVsMN sZdh7vTR+dsVbDvF6jfKqOzp78KC4mLt/Awcne3SvLjulC1izLoUiV/480+kawdp1iB6SO U5pVHJFOoWPzxBmNIjkPVN0rqWR+9L4gX9MkIUgwHPmZ5D4VU04Y63zS6v3BNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692052189; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=u90kH29ZNzl3gT4NVCrf277vXM6E/M+qWUZJQI93IM4=; b=O+waFmb8bMfsA+R7H3nDDMfRx4aysfutGp02GImFMYsYnlIC7UQnR1L0gcre74kHlxhhvQ ushWE3ef1ayZS6syOpxGJ353kf5BwLHMUeFy/agMHX5wncy4PiwNfrnezrQUPmoJ/zMrRV bSUn/3iyOzfI8Sf/yK2N5jqF9mXdRU2xj+QcBVKaB0B3McesFQX7ouUtmlG7RVQZr2HN0e x9Czs/3iYmoHOIGsoWuOiAgAMuPrNH67VMcOXtPjX7tChr+9cUdZBklnh6cfi3o7jbLsBv EfJRU6Zce7V7D4J8K5HI26USw51hQ+i0hqYUZ620Snqvyodhv9gYhfj6kjdYGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692052189; a=rsa-sha256; cv=none; b=fT2WEGfT9PcrgbwoZzuVLOLe2kslnqb2ZyF3HH5fE7ylTrXu83+pyCbeK1Ac4pQjEmXWju k4UX4297YLsXkGKR4CYNYPDdqHLLlw8MGNvB13G7PstzCMp1zl8EbFMt8I2gGH8KDPor+7 lM3Q3P/y6Bk/m8dscPtjA0kc7J4bJYxmLz0/Ndfta4MXS12Ec2UJKv0nkzOLoAr01Nqf7v Zre1tptNV6T8Oq/qE/Tmuc2Ujpnkph8Fi8m2ALPSyLokeFNf2ePhM7U9cVsG8iVHXI+S13 KkXCVCfkpSocXKhWNx9gNIIyoeTB5agKY3tX2Fe2LHFgnYbrF57+XoGbU0ueUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: by freefall.freebsd.org (Postfix, from userid 1403) id D6A221522; Mon, 14 Aug 2023 22:29:48 +0000 (UTC) Date: Mon, 14 Aug 2023 22:29:48 +0000 From: "Piotr P. Stefaniak" To: Jamie Landeg-Jones Cc: freebsd-current@freebsd.org Subject: Re: ps(1) bugs and problems Message-ID: References: <202307282307.36SN7b7v026284@donotpassgo.dyslexicfish.net> <202308111132.37BBW23A064898@donotpassgo.dyslexicfish.net> 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; format=flowed Content-Disposition: inline In-Reply-To: <202308111132.37BBW23A064898@donotpassgo.dyslexicfish.net> 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 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. For the record, just -d'$^' is impossible, because it would break existing command invocations. Piotr