bug-bash
[Top][All Lists]
Advanced

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

Re: "unset var" pops var off variable stack instead of unsetting it


From: 渡邊裕貴
Subject: Re: "unset var" pops var off variable stack instead of unsetting it
Date: Mon, 20 Mar 2017 12:30:09 +0900

It seems to me this matter is specific to the IFS variable (and possibly few others like CDPATH). Unsetting IFS restores the default field splitting behavior, but unsetting PATH does not restore the default command search path. As Peter suggests, you can locally re-define any variables you want and that should work in any situation.

--
Yuki


reply via email to

[Prev in Thread] Current Thread [Next in Thread]