Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: net.unix-wizards Subject: Re: VERY SERIOUS rmdir bug (really, "pwd" sh builtin) Message-ID: <3255@brl-smoke.ARPA> Date: Fri, 22-Aug-86 17:53:07 EDT Article-I.D.: brl-smok.3255 Posted: Fri Aug 22 17:53:07 1986 Date-Received: Sat, 23-Aug-86 05:07:09 EDT References: <1074@inset.UUCP> <-932157@homer> <236@bsdpkh.UUCP> <1145@ttrdc.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 The BRL version of the SVR2 Bourne shell maintains an idea of the current directory internally, and uses it when one tries a relative "cd". I set its idea of where I am initially by "cd $HOME" and it never gets lost after that. This is particulary important when your file system is chock full of symbolic links to directories, as ours is. (Otherwise, "cd ..; rm -rf subdir" can be quite a surprise when .. turns out to not be the place you just came from!) Some people like this behavior, and some don't. Now that I've tried it for quite a while, I'm all for it.