On Tue, 16 Apr 2002, Michael Bovee wrote:

=>Well, the encouraging replies from Derek M., Dan C., and Benjamin S. 
=>have turned my frown upside down! (thanks for tolerating my whiney 
=>tone yesterday)
I have long felt that the standard way for people to set their PATH 
variables (in fact all colon seperated lists which are environment 
variables) is generally screwed up.  How many times have you looked at 
someone's PATH only to see that there are duplicated entries, or sometimes 
even have the value doubled or triplied up?

The answer is to use envv. (http://www2.syslang.net:8080/envv.tar.gz)

envv is the ENVironment Variable editor. I use it in my bash init stuff to 
put values in  my PATH without duplicates.

Also, I recommend not setting PATH in .bash_profile. Instead, put it into 
a seperate .bash_path and source it in from the .bash_profile. That way 
you can also invoke it from your .bashrc *if* you are not interactive. 
That way, remote commands won't break. :-)

-- 
-Time flies like the wind. Fruit flies like a banana. Stranger things have -
-happened but none stranger than this. Does your driver's license say Organ
-Donor?Black holes are where God divided by zero. Listen to me! We are all-
-individuals! What if this weren't a hypothetical question? [EMAIL PROTECTED]



*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to