Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 01:08:22 +0200
From:      Christian Weisgerber <naddy@mips.rhein-neckar.de>
To:        Doug Barton <Doug@gorean.org>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Proposed new Bourne shell init files
Message-ID:  <20000401010822.A581@bigeye.rhein-neckar.de>
In-Reply-To: <Pine.BSF.4.21.0003311338030.72992-100000@dt051n0b.san.rr.com>; from Doug@gorean.org on Fri, Mar 31, 2000 at 01:42:31PM -0800
References:  <20000331224327.Y581@bigeye.rhein-neckar.de> <Pine.BSF.4.21.0003311338030.72992-100000@dt051n0b.san.rr.com>

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




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