On Saturday 08 August 2009 12:49:36 Doug Barton wrote:
Well, I took the lazy road, cause I didn't feel like sorting out what
directories were not under svn's control (and thus not showing up in svn
diff).
svn switch worked fine and fixing the keywords was a breeze:
find . -name '.svn' -prune -o -type f -print |while read FILE; do
if grep -q '\$FreeBSD: head/.*\$' ${FILE}; then
sed -e 's,\$FreeBSD: head/,$FreeBSD: stable/8/,' -i '' ${FILE}
else
echo "No match: ${FILE}"
fi
done
I put in the else so I could see which files didn't have a keyword. That was
fun when we went into contrib :)
--
Mel
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"