Date: Mon, 29 Mar 2004 11:04:47 +0200 (CEST) From: Harti Brandt <brandt@fokus.fraunhofer.de> To: Stephen McKay <smckay@internode.on.net> Cc: Albert Cahalan <albert@users.sourceforge.net> Subject: Re: posix ps (was Re: Adding `pgrep' and `pkill' to /usr/bin) Message-ID: <20040329105719.E13220@beagle.fokus.fraunhofer.de> In-Reply-To: <200403290830.i2T8Ujsv006376@dungeon.home> References: <p0602046abc879c5fe2f9@[128.113.24.47]> <20040325070120.GA67497@VARK.homeunix.com> <p06020494bc8a5738af2f@[128.113.24.47]> <20040328184244.I10175@beagle.fokus.fraunhofer.de> <20040329091900.Y12618@beagle.fokus.fraunhofer.de> <200403290830.i2T8Ujsv006376@dungeon.home>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Mar 2004, Stephen McKay wrote: SM>On Monday, 29th March 2004, Harti Brandt wrote: SM> SM>>Think of 'ls -o'. -o is taken by posix to mean the same as '-l' but SM>>without showing the group. FreeBSD ls instead takes it to show file flags. SM>>This is a more obvious case where you want the selection. SM> SM>I had promised to leave this debate, having said what I thought needed to SM>be said. But this (and your subsequent message) implies that there are SM>people who want to add $PERSONALITY to many basic FreeBSD utilities, not SM>just in ps. SM> SM>This is a very bad road to take. Far from solving portability difficulties, SM>it guarantees those difficulties into the indefinite future. SM> SM>If we need posix compatibility (and this should be a separate debate), then SM>we take the pain and change the 'ls -o' option. For one release cycle the SM>option still works in the old manner but outputs a warning. In the next SM>major release, it changes to the posix flavour. Bang. Problem solved. SM>Adding a hidden variable just makes things more complicated and guarantees SM>the pain continues forever. People *will* set this variable inappropriately, SM>and it *will* be a source of problems. I'm all with you on this. I said all this under the proposition that we want to keep BSD syntax that conflicts with Posix. Sure, I'd rather simply move to posix. (The only thing I'd want to retain is 'ps ax' :-) SM>PS Should the CC list be truncated now? Ok. After this one :-) harti
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040329105719.E13220>