Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rutgers!mit-eddie!uw-beaver!tektronix!tekcrl!tekgvs!keithe From: keithe@tekgvs.TEK.COM (Keith Ericson) Newsgroups: comp.sys.ibm.pc Subject: ERROR IN directory stack for mks ksh Message-ID: <2611@tekgvs.TEK.COM> Date: Sat, 29-Aug-87 00:07:11 EDT Article-I.D.: tekgvs.2611 Posted: Sat Aug 29 00:07:11 1987 Date-Received: Sun, 30-Aug-87 07:34:35 EDT Reply-To: keithe@tekgvs.UUCP (Keith Ericson) Distribution: na Organization: Tektronix, Inc., Beaverton, OR. Lines: 15 First of all, the dirstack stuff I sent out is erroneous in that the popd +n function counts from the wrong end of the stack. (This is MY fault, not David Stewart's: his implementation didn't include popd +n and I messed up in writing it.) Secondly, pushd "...with a numeric argument rotates the nth argument around to the top element and changes to it" [BSD 43. man page for csh]. But the version I sent out does an exchange of the two locations. This is also wrong. SOOOOoooo - throw the thing out. It ain't worth the bits to blow it away. And My Sincere Apologies!!! (I cancelled the message - you may never even see it. Lucky you.) keith