1 #!/bin/sh 2 # 3 # update.sh 4 # 5 # update copyright dates in files 6 7 a=`find . -name "*.[ch]"` 8 for x in $a; do 9 sed 's/(c) 2001-2005/(c) 2001-2006/' $x > $x.tmp; 10 mv $x.tmp $x; 11 done 12 13 14 15 16