From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3202 invoked from network); 19 Dec 2007 00:19:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 19 Dec 2007 00:19:42 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 27619 invoked from network); 19 Dec 2007 00:19:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Dec 2007 00:19:36 -0000 Received: (qmail 7182 invoked by alias); 19 Dec 2007 00:19:33 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24292 Received: (qmail 7168 invoked from network); 19 Dec 2007 00:19:33 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Dec 2007 00:19:33 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 5A4DB8058F54 for ; Wed, 19 Dec 2007 01:16:23 +0100 (CET) Received: from uucp.gnuu.de (banki.eumelnet.de [83.246.114.63]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Wed, 19 Dec 2007 01:16:22 +0100 (CET) Received: by uucp.gnuu.de (Postfix, from userid 10) id 0AAAC48806F; Wed, 19 Dec 2007 01:19:28 +0100 (CET) Received: from news by alea.gnuu.de with local (Exim 4.63) (envelope-from ) id 1J4mYj-000219-Jh for zsh-workers@sunsite.dk; Wed, 19 Dec 2007 01:13:13 +0100 To: zsh-workers@sunsite.dk Path: not-for-mail From: =?UTF-8?Q?J=C3=B6rg?= Sommer Newsgroups: local.mailinglist.zsh Subject: How to use popd? Date: Wed, 19 Dec 2007 00:13:13 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: alea.gnuu.de 1198023193 6778 192.168.0.5 (19 Dec 2007 00:13:13 GMT) X-Complaints-To: usenet@alea.gnuu.de User-Agent: slrn/pre0.9.9-69 (Debian) Sender: news X-Virus-Scanned: ClamAV using ClamSMTP Hi, I've this situation: % dirs /usr ~ /tmp ~/Tmp/kernel/linux ~ % pwd /usr Now I want to go to /tmp. I thought popd +2 is what I need, but I'm still in /usr. Only the entry for /tmp is removed. % popd +2 /usr ~ ~/Tmp/kernel/linux ~ % pwd /usr Why doesn't popd change the directory? Bye, Jörg. -- Du kannst einem Schwein einen goldenen Ring durch die Nase ziehen, deswegen bleibt es trozdem ein Schwein!