update.sh 188 B

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