acctmod-cc.sh
#!/bin/shif [ "$1" = "" ]; then exit 1 ; fiif [ "$2" = "" ]; then exit 1 ; fic1=`expr index $1 "@"`if [ $c1 = 0 ]; then exit 1 ; fic2=`expr index $2 "@"`if [ $c2 = 0 ]; then exit 1 ; ficou3=`find /cruisecontrol/projects/ -name '*.xml' -follow -exec grep -q ""$1"" {} ; -print`if [ -n "$cou3" ]thenecho "cc: $1 -> $2"find /cruisecontrol/projects/ -name '*.xml' -follow -exec grep -q ""$1"" {} ; -print -exec sed -i.bak "s/"$1"/"$2"/I" {} ;fi