All:
% echo $path
/usr/local/bin /usr/pubsw/bin /usr/bin ...
% ls
[... etc ... it works]
% set path = "$path" *** What the hell happens here??? ***
% echo $path
/usr/local/bin /usr/pubsw/bin /usr/bin ... looks the same
% ls
ls: Command not found.
This is just a particularly egregious illustration of the problem. In
general, if I try to do something like this:
% set savedPath = "$path" # Save current path
% set path = "$savedPath" # Restore saved path
it doesn't work. The path *looks* the same, but the shell can't find
anything. Recall that the shell variable path and the environment
variable PATH are linked, so setting one automatically sets the other
also. Some unexpected feature of list interpolation perhaps? Bug or
feature, I call it a pain...
Andrew Duncan