In Coreutils v9.8 on macOS (I also tested on recent master, 5a00d0a65), `env` 
now adds the `__CF_USER_TEXT_ENCODING` var to the environment. This behavior is 
not present in v9.7. I suspect this may be due to commit 
c2e1816a53345ff9d5b89fc1fa566e87d0ee1b7e, but am unable to confirm as naive 
bisecting and reverting is confounded by failed builds.

./coreutils-bin/env -i /usr/bin/env        # (empty)
./coreutils-bin/env -i ./coreutils/bin/env # has __CF_USER_TEXT_ENCODING
/usr/bin/env -i ./coreutils-bin/env        # has __CF_USER_TEXT_ENCODING



Reply via email to