Skip to content

Commit a29fd4a

Browse files
authored
Merge pull request #7956 from Qelxiros/6175-env-empty-string
docs: env doesn't handle the empty string as a variable name
2 parents d094e72 + 3848e6c commit a29fd4a

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/src/extensions.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ $ ls -w=80
2222

2323
## `env`
2424

25-
`env` has an additional `-f`/`--file` flag that can parse `.env` files and set
26-
variables accordingly. This feature is adopted from `dotenv` style packages.
25+
GNU `env` allows the empty string to be used as an environment variable name.
26+
This is unsupported by uutils, and it will show a warning on any such
27+
assignment.
28+
29+
`env` has an additional `-f`/`--file` flag that can
30+
parse `.env` files and set variables accordingly. This feature is adopted from `dotenv` style
31+
packages.
2732

2833
## `cp`
2934

0 commit comments

Comments
 (0)