Re: 'set' leaks garbage from environment

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2014-09-30 09:01 -0600, Eric Blake wrote:
> $ dash -c 'unset "a|b"
> $ echo $?
> 0

Works for me (tested on both Debian package versions 0.5.7-3 (wheezy)
and 0.5.7-4 (unstable)):

$ dash -c 'unset "a|b"'
dash: 1: unset: a|b: bad variable name
$ echo $?
2

> $ env 'a|b=' dash -c 'set | grep a"."b'
> a|b=''

This I can reproduce though.

-- 
 --------------------------------------------------------------- 
| Olof Johansson                              http://stdlib.se/ |
|  irc: zibri                           https://github.com/olof |
 --------------------------------------------------------------- 
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux