#!/bin/bash if test "$1" != 'tcsh';then exit fi if grep -q -v "LC_CTYPE" /etc/csh.cshrc;then echo "setenv LC_CTYPE zh_CN.gb18030">>/etc/csh.cshrc fi