>> But why waste the time going through a temporary variable, when you can use: > >> test ${foo+set} = set && unset foo > > That is clearer, true.
Or you can also use { foo=; unset foo; } too.
>> But why waste the time going through a temporary variable, when you can use: > >> test ${foo+set} = set && unset foo > > That is clearer, true.
Or you can also use { foo=; unset foo; } too.