On 7/19/20 12:00 PM, Chase via cdesktopenv-devel wrote:
> So upstream ksh has gotten rid of their predefined aliases, meaning we
> had to switch them over to builtins if we ever plan on updating ksh,
> the patch also got rid of the BLT_SPC flag for reasons best explained
> in this email sent by the ksh maintainers:
>
> "Default aliases are an ugly hack that you are better off without.
> Disadvantages include: - 'unalias -a' becomes basically unusable as it
> gets rid of commands you probably want; - shell functions by those
> names are ignored (unless you quote their names upon invocation); -
> something like 'cmdname=foo; "$cmdname" bar baz' doesn't work if
> $cmdname is an alias.
>
> I strongly recommend removing the BLT_SPC flag from all of your extra
> dtksh builtins. Making builtins "special builtins" is of no real
> benefit at all, while introducing a pointless restriction: shell
> functions by those names cannot be defined, which causes a risk of
> incompatibility with scripts written for other shells. The BLT_SPC
> flag is for a very few historic builtins that must have certain weird
> corner-case behaviour of "special" builtins for POSIX compliance and
> Bourne shell compatibility reasons."
>

Sounds reasonable to me.  Everything still works.

> Upstreaming ksh and autotooling ksh soon to follow when/if this gets
> merged.
>

Merged, thanks!

-jon

> Thank you for your time,
> -Chase
>
>
>
>
> _______________________________________________
> cdesktopenv-devel mailing list
> cdesktopenv-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

-- 
Jon Trulson

  "Entropy.  It isn't what it used to be."
                           -- Sheldon

_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to