And on that, it is not a good
idea to have current directory ( . ) in one's path for security
reasons
since rouge scripts may be run accidentally that way

Umm ... why would a sort of reddish script be an issue? Are other
coloured scripts a security problem? Does this apply to all colours or
only primary ones? And how do you colour shell scripts anyway? Is that
a special switch on chmod or a different command? Can you do that on
all *nixes or only System V or only BSD or only on obscure variants?

Speaking of misspelled rogues, welcome to the discussion, Simone. :)

Yes, after I sent that, I realized what I'd done but alas! it was too late!
I have not found a way to color scripts, but I know it can be done - else
the rouge script problem would not be an issue and we could all begin
putting . into our paths. A friend of mine said that to color a script you
could use a highlighter on the actual terminal screen. But I suspect that
would have *fading* effect, and it is a practice I don't advise.

I don't believe rouge to be a primary color, so I suppose that the technique
applies to all colors. All I can say is that once one of them is executed,
the first effect is that your face takes on the same color (or even colour,
if you like) as the script. Then things get worse.

YMMV
Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Democracy is the worst system devised by the wit of man, except for all the
others."
-- Winston Churchill



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.