Gentoo Archives: gentoo-user

From: znx <znxster@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow
Date: Sat, 03 Jun 2006 21:22:21
Message-Id: 169ffc030606031411x5ad27411qf6620f2c7f739462@mail.gmail.com
In Reply to: Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow by Kevin O'Gorman
1 Hi,
2
3 First .. arrgghh .. I forgot, I am deeply sorry..
4
5 On 27/05/06, Kevin O'Gorman <kogorman@×××××.com> wrote:
6 > Open to debate. I'd think it's not very dangerous at the *end* of the
7 > PATH.
8
9 True, I have modified the script so that a . may enter the PATH (etc)
10 only as the final entry. Also good point about ~/bin .. it is just as
11 dangerous.
12
13 > Thanks...
14
15 Check out this:
16 http://kutzooi.co.uk/cleanpath.sh.txt
17
18 All dups will be stripped, all "." entries (bar the last) will be stripped also.
19
20 Hope this is what you needed.
21
22 Mark
23 --
24 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow "Boyd Stephen Smith Jr." <bss03@××××××××××.net>