[TriLUG] SCP acting funny resolution
    Brian A. Henning 
    lugmail at cheetah.dynip.com
       
    Mon Apr  5 16:50:36 EDT 2004
    
    
  
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
    
    
More information about the TriLUG
mailing list