From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FjREb-0007Wb-9H for garchives@archives.gentoo.org; Fri, 26 May 2006 01:35:25 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4Q1XOwl001462; Fri, 26 May 2006 01:33:24 GMT Received: from wx-out-0102.google.com (wx-out-0102.google.com [66.249.82.201]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4Q1RqdK014609 for ; Fri, 26 May 2006 01:27:53 GMT Received: by wx-out-0102.google.com with SMTP id s10so1056414wxc for ; Thu, 25 May 2006 18:27:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=lQDRMbYvneWVNRwWq3jMymzlSytopLqfOEj8kbDPPaag7EfMjTzj2AsRj3/wf4z+OFI7fHduKkMoDSrkqAhsVF6zoUSNdAZLp7iPrtynABWR0KiKCnHzuGKFGulbVZagd2VRN3mu/XUr7PBekUNISADK5SNWFFulWJdaoNtPv8A= Received: by 10.70.69.13 with SMTP id r13mr87155wxa; Thu, 25 May 2006 18:27:51 -0700 (PDT) Received: by 10.70.39.16 with HTTP; Thu, 25 May 2006 18:27:51 -0700 (PDT) Message-ID: <169ffc030605251827p1d046645oaf1cd85ede10c6e5@mail.gmail.com> Date: Fri, 26 May 2006 02:27:51 +0100 From: znx To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow In-Reply-To: <9acccfe50605240758n51991430hc3a15305f0f74133@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Disposition: inline References: <9acccfe50605211556h542921a9kbd79da6a016e2101@mail.gmail.com> <169ffc030605231306m37b7e90ayda8315a8b84dff44@mail.gmail.com> <9acccfe50605240758n51991430hc3a15305f0f74133@mail.gmail.com> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k4Q1RqdK014609 X-Archives-Salt: e5d3e260-9c8e-4605-aa9c-546608847e5c X-Archives-Hash: 637f9c47d7d654586f2ba1bd5e2337e1 > This _does_ help. It's mysterious enough that I tested it, and it seems to > work except that it removes "." from any path. This is not quite what I want. Glad it was almost a success ;) Interesting, thats not something I noticed before, I have never wished "." in my PATH, I should point out of course that "." in your PATH is a security risk waiting to happen ;) Nevertheless it should not be removing the entry unless its a dup. I have quickly confirmed the behaviour it is defn stripping all "." entries. *sigh* the script needs some work .. I'll play with it again tomorrow.... Thanks for the feedback, Mark -- gentoo-user@gentoo.org mailing list