ENVSTORE(1) | General Commands Manual | ENVSTORE(1) |
envstore
— save
and restore environment variables
envstore |
command [args ...] |
envstore
can save and restore environment
variables, thus transferring them between different shells.
command must be one of
clear
eval
list
save
variable [value]rm
variableNote: Only the first character of command is
checked, so envstore
e
instead of envstore
eval
,
envstore
c
for
envstore
clear
, etc., are
also valid.
For convenience, the options --version
and
--help
are also supported.
ENVSTORE_FILE
Variable names or values must not contain null bytes or newlines.
Due to limitations imposed by most shells, it is not possible to
save parameters containing more than one consecutive whitespace.
envstore
will save and display them correctly, but
unless you do IFS
trickery, your shell will not be
able to load them.
The current maximum length (in bytes) is 255 bytes for the variable name and 1023 bytes for its content.
envstore
was written by
Daniel Friesel
⟨derf@derf.homelinux.org⟩.
Original idea and script by Maximilian Gass ⟨mxey@ghosthacking.net⟩.
December 1, 2009 | Debian |