From owner-freebsd-hackers Fri Jun 1 9:38:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from guild.plethora.net (guild.plethora.net [205.166.146.8]) by hub.freebsd.org (Postfix) with ESMTP id 5897837B43E for ; Fri, 1 Jun 2001 09:38:34 -0700 (PDT) (envelope-from seebs@plethora.net) Received: from guild.plethora.net (seebs@localhost.plethora.net [127.0.0.1]) by guild.plethora.net (8.10.1/8.10.1) with ESMTP id f51GcR524864 for ; Fri, 1 Jun 2001 11:38:28 -0500 (CDT) Message-Id: <200106011638.f51GcR524864@guild.plethora.net> From: seebs@plethora.net (Peter Seebach) Reply-To: seebs@plethora.net (Peter Seebach) To: hackers@FreeBSD.ORG Subject: Re: Fixing documented bug in env(1) In-reply-to: Your message of "Fri, 01 Jun 2001 09:35:22 PDT." <20010601093521.B4306@dragon.nuxi.com> Date: Fri, 01 Jun 2001 11:38:27 -0500 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010601093521.B4306@dragon.nuxi.com>, "David O'Brien" writes: >On Thu, May 31, 2001 at 09:29:38PM -0700, Dima Dorfman wrote: >> Although this is a documented shortcoming, it's quite unnecessary >> given how easy it is to fix it. Any objections to allowing '--' to >> mean "end of env. variable assignments"? >The orthoginal way (with grep, mv, et. al.) would be to use '==', not >'--' as that is the problematic character. Principle of least astonishment says that, sinec everyone else uses "--" to indicate the end of a series of "options", that's what env should do too. If you told users that there was a way to indicate the end of the option series, that's what they'd expect, because it's how all the other commands do it. -s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message