puder (09/07/82)
We have figured out aliases for cd, pushd and popd that make the directory stack available in a shell variable. This means that you can: cp file $ds[2] to copy a file to the directory you would be in if you then did popd. Not only that, but the directory stack can be inherited by subshells! If this generates interest, I will post to net.sources.
idallen (09/14/82)
You can extend the access to the dirs stack by using a file instead of an environment variable. This allows you to sign on in several places and get the same stack, and also means that when you log off and sign back on, your stack is restored to where you left it. -IAN! U of Waterloo (decvax!watmath!idallen)