You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also here is my snippet from Zulip showing why declare has to be statically parsed sometimes.
I think what other shells do is set some flags in words for "nosplit" or something like that.
$ d=declare
$ x='a b'
$ declare x=$x # statically parsed, shell knows it's declare, no word splitting
$ echo $x
a b
$ $d x=$x # dynamically parsed, word splitting
$ echo $x
a
From #236 by @lhoursquentin
I'm not sure what I think about this yet, but it seems to be a separate issue.
The text was updated successfully, but these errors were encountered: