Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2001 11:38:27 -0500
From:      seebs@plethora.net (Peter Seebach)
To:        hackers@FreeBSD.ORG
Subject:   Re: Fixing documented bug in env(1) 
Message-ID:  <200106011638.f51GcR524864@guild.plethora.net>
In-Reply-To: Your message of "Fri, 01 Jun 2001 09:35:22 PDT." <20010601093521.B4306@dragon.nuxi.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106011638.f51GcR524864>