diff options
author | Ron Yorston <rmy@pobox.com> | 2024-07-08 14:49:31 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2024-07-08 14:49:31 +0100 |
commit | 29a24869e403e7364301e6fd7c745d327ed2d8c6 (patch) | |
tree | 3199a550aad823c727a5a4c58557653dc78c08ba /docs | |
parent | fff1c91e642f4d62e5dc542594e79b0972a3db78 (diff) | |
download | busybox-w32-29a24869e403e7364301e6fd7c745d327ed2d8c6.tar.gz busybox-w32-29a24869e403e7364301e6fd7c745d327ed2d8c6.tar.bz2 busybox-w32-29a24869e403e7364301e6fd7c745d327ed2d8c6.zip |
ash: restore value of imported variable on unexport
Shell variables imported from the environment are marked with a
special flag and backslashes in their values are (by default)
replaced with forward slashes. Sometimes this may not be what
we want.
Modify the 'export' shell built-in so unexporting a variable of
this type restores its original value from the environment and
removes its special flag. It can then be re-exported.
Adds 32 bytes.
(GitHub issue #428)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions