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 [EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message