update.sh 188 Bytes
Newer Older
Cullen Jennings's avatar
Cullen Jennings committed
1 2 3 4 5 6 7 8
#!/bin/sh
#
# update.sh
#
# update copyright dates in files

a=`find . -name "*.[ch]"`
for x in $a; do 
David McGrew's avatar
David McGrew committed
9
    sed 's/(c) 2001-2005/(c) 2001-2006/' $x > $x.tmp; 
Cullen Jennings's avatar
Cullen Jennings committed
10 11 12 13 14 15
    mv $x.tmp $x; 
done