From owner-freebsd-hackers Fri Mar 31 15:57:22 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 0645837BA96 for ; Fri, 31 Mar 2000 15:57:13 -0800 (PST) (envelope-from naddy@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id BAA21572; Sat, 1 Apr 2000 01:56:20 +0200 (CEST) (envelope-from naddy@bigeye.rhein-neckar.de) Received: (from naddy@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id BAA61023; Sat, 1 Apr 2000 01:08:22 +0200 (CEST) (envelope-from naddy) Date: Sat, 1 Apr 2000 01:08:22 +0200 From: Christian Weisgerber To: Doug Barton Cc: freebsd-hackers@freebsd.org Subject: Re: Proposed new Bourne shell init files Message-ID: <20000401010822.A581@bigeye.rhein-neckar.de> References: <20000331224327.Y581@bigeye.rhein-neckar.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: ; from Doug@gorean.org on Fri, Mar 31, 2000 at 01:42:31PM -0800 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Doug Barton: > In my mind there is a difference between items that are > freebsd-exclusive (like set -o and alias) and items that we have unique > implementations of, like export. The latter are available on other > platforms, and therefore, IMO we should follow the more generally accepted > format. You're arguing from mistaken assumptions. "set -o" and "alias" are not in the least FreeBSD-exclusive. Nor do we have a unique implementation with "export VAR=value". These three features don't differ with respect to portability. To repeat: * They aren't part of the "original" Bourne shell (which was itself a moving target). * They were introduced with the Korn shell. * Later they were specified for the POSIX shell. * Every POSIX shell supports them. Whatever way you want to argue, if you want to stay coherent you have to treat these three features (and a bunch more) the same. And, considering the subject, I'd like to point out that FreeBSD's /bin/sh is not a Bourne shell clone but a POSIX shell. > Extending that argument to either not take advantage of features > unique to FreeBSD (silly and wasteful) or to doing everything FreeBSD'ish > just because we can (teaches a bad lesson) goes too far in either > direction for my taste. I think that's a bizarrely schizophrenic position, but anyway it isn't applicable to the actual shell features discussed above. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message