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 point about ~/bin .. it is just as
dangerous.

 Thanks...

Check out this:
http://kutzooi.co.uk/cleanpath.sh.txt

All dups will be stripped, all "." entries (bar the last) will be stripped also.

Hope this is what you needed.

Mark
--
gentoo-user@gentoo.org mailing list

Reply via email to