Hi All, Thanks especially to Aaron Joyner for the very useful info about bash interactive stuff. The following if clause in my .bashrc works for my installation (RH7.3):
if [ -n "`echo $- | grep i`" ]; then # commands that produce output fi I'm sure some of you are laughing at what is probably a roundabout way to look for 'i' in the $- variable.. That's just what I came up with first, not being a bash script maven. :-) Cheers, ~Brian -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
