#!/bin/sh # # update.sh # # update copyright dates in files a=`find . -name "*.[ch]"` for x in $a; do sed 's/(c) 2001-2005/(c) 2001-2006/' $x > $x.tmp; mv $x.tmp $x; done