fix svn_ps1; svndiff only color when isatty
fix for awk and sed diff