<toast>
technically local is POSIX but there is no associated behavior
<toast>
I.e it is not a syntax error to have it, and what it does is implementation defined
<toast>
it’s specified in 2.9.1 command search and execution
<toast>
> If the command name matches the name of a utility listed in the following table, the results are unspecified.
<toast>
with the only search entry taking priority over this being special built-ins
boomboxnation has quit [Read error: Connection reset by peer]
<toast>
(it’s in the same group as “builtin”, “disown”, “history”…)
<sewn>
emersion: sometimes standards arent for good, especially missing no-brainer features
<sewn>
in other words: it should have *been* in the standard
<sewn>
if its needed, i can resubmit the patch with the "unset" commands and with function specific variable naming.
<toast>
basically all implementations have it and those that don’t basically ignore it; so unless the latter is an issue you can probably keep it as is (?)
<emersion>
sewn: then don't refer to the standard at least
<toast>
POSIX is full of “details” like this so that avoiding all undefined behaviours is very hard
<emersion>
(but I disagree in general)
boomboxnation has joined #foot
boomboxnation has quit [Read error: Connection reset by peer]