From owner-freebsd-hackers Fri Jun 1 20:25:24 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 C046E37B423 for ; Fri, 1 Jun 2001 20:25:21 -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 f523PK504364 for ; Fri, 1 Jun 2001 22:25:21 -0500 (CDT) Message-Id: <200106020325.f523PK504364@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 20:05:18 PDT." <20010602030518.E3CE63E32@bazooka.unixfreak.org> Date: Fri, 01 Jun 2001 22:25:20 -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 <20010602030518.E3CE63E32@bazooka.unixfreak.org>, Dima Dorfman write s: >But this isn't terminating the end of a series of "options"; it's >terminating a series of assignments, and since env(1) detemines >whether an argument is an assignment or not by whether it has a '=' in >it, it makes sense to use '==' as David suggests. No. The reason for "--" is that it's two of the *START* of an option. env assignments don't *start* with =. The most consistent thing here is "-- to separate parts of a command line". >It's different from >the others because it signifies the end of a different kind of >"series". Sure, but the user doesn't necessarily care. Certainly, no one has ever tried to use "==" to end any sequence of arguments anywhere; people use -- to end subsequences of arguments all the time. -s To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message