From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1202 invoked from network); 1 Mar 1999 17:44:05 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 1 Mar 1999 17:44:05 -0000 Received: (qmail 2540 invoked by alias); 1 Mar 1999 17:43:03 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2194 Received: (qmail 2527 invoked from network); 1 Mar 1999 17:42:59 -0000 Date: Mon, 1 Mar 1999 19:44:55 +0200 From: Mircea Damian To: "Larry P . Schrof" Cc: zsh-users@sunsite.auc.dk Subject: Re: is this normal? Message-ID: <19990301194455.A12222@kappa.ro> References: <19990228211159.A30631@kappa.ro> <199903011610.LAA29744@po_box.cig.mot.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=45Z9DzgjV8m4Oswq; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95i In-Reply-To: <199903011610.LAA29744@po_box.cig.mot.com>; from Larry P . Schrof on Mon, Mar 01, 1999 at 10:08:24AM -0600 X-Operating-System: Linux secu 2.2.2 --45Z9DzgjV8m4Oswq Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Mon, Mar 01, 1999 at 10:08:24AM -0600, Larry P . Schrof wrote: > First, remember that in the / directory, the file .. just points back > to / itself. This is normal. That is why this happens: root@taz:~# cd / root@taz:/# cd ../bin/.. root@taz:/..# <-- here /.. =3D=3D / But then it looks very odd to me when I try multiple "../" constructions like: root@taz:~# cd / root@taz:/# cd ../../bin root@taz:/bin# <-- why not /../../bin root@taz:/bin# cd / root@taz:/# cd ../../../bin root@taz:/../bin# cd / root@taz:/# cd ../../../../bin root@taz:/bin# As far as I see this happens only when the number of "../" is odd so I think that this is a bug! > lyric[93] RPROMPT=3D'$(pwd)' = /../etc > lyric[94] = /etc As you said, this is only a quick but dirty fix. :-( --=20 Mircea Damian Network Manager dmircea@roedu.net, dmircea@lbi.ro, dmircea@kappa.ro MD65-RIPE, MD2225, MD1-6BONE --45Z9DzgjV8m4Oswq Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: oi+sbXs0dtuwyBXpRTbL/21yjOu/VgwT iQA/AwUBNtrSF08GeONLrrA2EQK2AACeJZC1a44XSGV6TrIu+ES6tFOPhnkAoO98 JMa89JHyEcMBZcc3+0g52iIk =LS4h -----END PGP SIGNATURE----- --45Z9DzgjV8m4Oswq--