echo "Enterting .grass7/bashrc" export BAR=42 export DYLD_LIBRARY_PATH=/opt/local/share/grass-7.2.2/lib echo "Grepping for set variables" printenv | grep DYLD printenv | grep BAR echo "Leaving .grass7/bashrc"