Skip to content

env: remove the --file extension - #14628

Merged
cakebaker merged 1 commit into
uutils:mainfrom
krosci:env-remove-file-extension
Sep 17, 2026
Merged

cakebaker merged 1 commit into
uutils:mainfrom
krosci:env-remove-file-extension

Conversation

@krosci

@krosci krosci commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

uutils env accepted a -f/--file extension that loads .env-style files, which GNU env does not have. GNU 9.12 added --env0-from as the supported way to read the environment from a file, added here in #14626, so the divergent extension and its INI loader go away along with the rust-ini dependency.

Fixes #14610.

@krosci
krosci force-pushed the env-remove-file-extension branch from d3e836d to 27ddd14 Compare September 16, 2026 22:02
@github-actions

github-actions Bot commented Sep 16, 2026

Copy link
Copy Markdown

GNU testsuite comparison:

Note: The gnu test tests/rm/many-dir-entries-vs-OOM is now being skipped but was previously passing.
Congrats! The gnu test tests/expand/bounded-memory is now passing!

@krosci
krosci force-pushed the env-remove-file-extension branch from 9f23290 to 2272791 Compare September 17, 2026 11:06
@cakebaker
cakebaker merged commit b2480b2 into uutils:main Sep 17, 2026
176 of 177 checks passed
@cakebaker

Copy link
Copy Markdown
Contributor

Thanks for your PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

env: remove --file extension to avoid divergence of interfaces

2 participants