--- /etc/bash/bashrc 2011-07-13 10:50:04.911785374 +0000 +++ /etc/bash/bashrc.orig 2011-07-13 10:49:54.528796890 +0000 @@ -40,7 +40,7 @@ # instead of using /etc/DIR_COLORS. Try to use the external file # first to take advantage of user additions. Use internal bash # globbing instead of external grep binary. -safe_term=${TERM//[^[:alnum:]]*/} # sanitize TERM +safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM match_lhs="" [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(