This dash bug appears to be fixed in Ubuntu 24.04.1 LTS dash Version: 0.5.12-6ubuntu5
The bug still exists in Ubuntu 20.04.6 LTS dash Version: 0.5.10.2-6 $ x='1 2 3' $ export y=$x dash: 2: export: 2: bad variable name -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/139097 Title: dash variable expansion error using local, readonly, and export To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dash/+bug/139097/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs