pushd/popd wanted (from net.wanted.sources)
Ron Natalie <ron>
ron at brl-tgr.ARPA
Fri May 17 14:11:01 AEST 1985
> Pushd and Popd are built into
> some CSH. However, many CSH don't have them. I don't think you can
> really simulate the action in Bourne shell, but these CSH
> aliases will provide the necessary effect. Note that
> they depend on the existance of the $cwd shell variable.
> If your shell doesn't provide the psuedo-variable $cwd you
> will have to use the alias for CD as well.
>
The System 5R2 shell has shell functions and one of the applications
notes that ATT sent out included pushd and popd functions for it.
If you have a 5R2 license, you can get a copy of the shell for 4.2
from BRL.
-Ron
More information about the Comp.sources.unix
mailing list