From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp2.libero.it ([193.70.192.52]) by hawkwind.utcs.utoronto.ca with SMTP id <45243>; Mon, 28 May 2001 14:49:01 -0500 Received: from tango (151.15.144.99) by smtp2.libero.it (5.5.025) id 3AE981AF006BDEBA for rc@hawkwind.utcs.toronto.edu; Mon, 28 May 2001 11:55:02 +0200 Received: from carlos by tango with local (Exim 3.12 #1 (Debian)) id 154Jjw-0001g5-00; Mon, 28 May 2001 11:55:08 +0200 Date: Mon, 28 May 2001 05:55:08 -0500 From: Carlo Strozzi To: rc@hawkwind.utcs.toronto.edu Subject: Re: bug? Message-ID: <20010528115508.G4481@tango.texne.com> Mail-Followup-To: Carlo Strozzi , rc@hawkwind.utcs.toronto.edu References: <20010528074702.4737.qmail@mailhost.aus.deuba.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010528074702.4737.qmail@mailhost.aus.deuba.com>; from russell.davies@db.com on Mon, May 28, 2001 at 03:47:00AM -0500 Organization: TeXne.COM On Mon, May 28, 2001 at 03:47:00AM -0500, Russell Davies wrote: | | ; mkdir $HOME/e | ; cdpath=$HOME | ; cd / | ; cd e | /home/blah/e | | ok, all is well. Suppose now I want to suppress the output of the cd e. | | ; cd / | ; cd e >/dev/null | ; pwd | / I believe the '>' redirection causes cd to be executed in a subshell, and when the latter dies so does the cd effect. bye, carlo -- Carlo Strozzi TeXne.COM - Open Consulting Mail: carlos@texne.com Voice: (+39)0523-883732 Fax: (+39)0523-840980