Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-07-07 Thread Kevin O'Gorman
On 7/5/06, Boyd Stephen Smith Jr. [EMAIL PROTECTED] wrote: On Saturday 03 June 2006 16:11, znx [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow': On 27/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: Open to debate. I'd think it's

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-07-05 Thread Boyd Stephen Smith Jr.
On Saturday 03 June 2006 16:11, znx [EMAIL PROTECTED] wrote about 'Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow': On 27/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: Open to debate. I'd think it's not very dangerous at the *end* of the PATH. True, I

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-06-03 Thread znx
Hi, First .. arrgghh .. I forgot, I am deeply sorry.. On 27/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: Open to debate. I'd think it's not very dangerous at the *end* of the PATH. True, I have modified the script so that a . may enter the PATH (etc) only as the final entry. Also good

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-26 Thread Kevin O'Gorman
On 5/25/06, znx [EMAIL PROTECTED] wrote: 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

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-25 Thread znx
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

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-24 Thread Kevin O'Gorman
On 5/23/06, znx [EMAIL PROTECTED] wrote: On 21/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote:Does anyone know a nice little idiom for de-duping a colon-list like PATH or MANPATH?Yeah this is something that constantly annoyed me, I forget where I found this (although I moved it to a function), it

Re: [gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-23 Thread znx
On 21/05/06, Kevin O'Gorman [EMAIL PROTECTED] wrote: Does anyone know a nice little idiom for de-duping a colon-list like PATH or MANPATH? Yeah this is something that constantly annoyed me, I forget where I found this (although I moved it to a function), it is not of my creation. To ensure

[gentoo-user] bash wizardry needed: PATH and MANPATH grow and grow and grow

2006-05-21 Thread Kevin O'Gorman
I have inherited some pretty gnarly dotfiles that I don't really want to fool with too much, but I'm also unhappy with what they do to my environment. They keep adding the same things over and over to some of the variables. Does anyone know a nice little idiom for de-duping a colon-list like PATH