aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-07-08 14:49:31 +0100
committerRon Yorston <rmy@pobox.com>2024-07-08 14:49:31 +0100
commit29a24869e403e7364301e6fd7c745d327ed2d8c6 (patch)
tree3199a550aad823c727a5a4c58557653dc78c08ba /docs
parentfff1c91e642f4d62e5dc542594e79b0972a3db78 (diff)
downloadbusybox-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