dash unset idiosyncrasies

2015-07-05 Thread Parke
Hi, The man page for dash says: unset [-fv] name ... The specified variables and functions are unset and unexported. If -f or -v is speci‐ fied, the corresponding function or variable is unset, respectively. If a given name cor‐

Re: dash unset idiosyncrasies

2015-07-05 Thread Martijn Dekker
Parke schreef op 06-07-15 om 04:18: The man page does not say what happens if the given name corresponds only to a function. Neither does POSIX, as you've found out: [...] if a variable by that name does not exist, it is unspecified whether a function by that name, if any, shall be unset. I