Date: Fri, 11 Aug 2023 05:37:43 +0000 From: "Piotr P. Stefaniak" <pstef@freebsd.org> To: Jamie Landeg-Jones <jamie@catflap.org> Cc: freebsd-current@freebsd.org Subject: Re: ps(1) bugs and problems Message-ID: <ZNXJJxBkMEATT8DE@freefall.freebsd.org> In-Reply-To: <ZMVoTXZKgKImgm22@freefall.freebsd.org> References: <202307282307.36SN7b7v026284@donotpassgo.dyslexicfish.net> <ZMVoTXZKgKImgm22@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 kind of DSL is available. So a simpler option is to keep the new aspect of -d (that it traverses the tree down, even if ps is given a list of PIDs) and add a -D that would work the same, but the other direction. Piotr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZNXJJxBkMEATT8DE>