The export builtin is complete in all of its
functionality. When run without arguments, it will
print the list of environment variables in
alphabetical order. When run with arguments, it
will go through them to ensure validity and assign
the new variables to the list as well as the
matrix according to the behavior of the original
export builtin.
An empty value will not update the matrix. An
existing key without a value does nothing where
an existing key with a value is updated in the
matrix as well as list. A new key with no value
is added to the matrix and the list, and will display
the key correctly when prompted. A new key with
value is added to the matrix and the list.
The
export
builtin is complete in all of its functionality. When run without arguments, it will print the list of environment variables in alphabetical order. When run with arguments, it will go through them to ensure validity and assign the new variables to thelist
as well as thematrix
according to the behavior of the originalexport
builtin.An empty value will not update the
matrix
. An existingkey
without avalue
does nothing where an existingkey
with avalue
is updated in thematrix
as well aslist
. A newkey
with novalue
is added to thematrix
and thelist
, and will display thekey
correctly when prompted. A newkey
withvalue
is added to thematrix
and thelist
.