mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-27 02:57:44 +00:00
docs: env doesn't handle the empty string as a variable name
This commit is contained in:
parent
a5a9f7d44d
commit
8b210cf204
1 changed files with 6 additions and 2 deletions
|
@ -22,8 +22,12 @@ $ ls -w=80
|
|||
|
||||
## `env`
|
||||
|
||||
`env` has an additional `-f`/`--file` flag that can parse `.env` files and set
|
||||
variables accordingly. This feature is adopted from `dotenv` style packages.
|
||||
GNU `env` allows the empty string to be used as an environment variable name. This is explicitly
|
||||
unsupported by the Rust standard library (see the
|
||||
[docs](https://doc.rust-lang.org/stable/std/env/fn.set_var.html) for more information), so uutils
|
||||
will show a warning on any such assignment. `env` has an additional `-f`/`--file` flag that can
|
||||
parse `.env` files and set variables accordingly. This feature is adopted from `dotenv` style
|
||||
packages.
|
||||
|
||||
## `cp`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue