Merry, a POSIX shell, has two fixes in its repository that bring glob expansion and variable export in line with standard sh behaviour. Both are unreleased commits rather than a tagged version.
Fixes
-
Glob expansion: Patterns such as ls abc* now list matching files and directories the same way sh does, so scripts that relied on the previous expansion may return different results. a33219a7
-
Variable export: A variable assigned before export now appears in env output, matching sh. The fix also preserves attributes like readonly on PATH across reassignment. 9462956a