Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!ron From: ron@brl-tgr.ARPA (Ron Natalie ) Newsgroups: net.sources Subject: Re: pushd/popd wanted (from net.wanted.sources) Message-ID: <10759@brl-tgr.ARPA> Date: Fri, 17-May-85 00:11:01 EDT Article-I.D.: brl-tgr.10759 Posted: Fri May 17 00:11:01 1985 Date-Received: Sat, 18-May-85 23:36:55 EDT References: <1798@watcgl.UUCP> <2385@wateng.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 15 > 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