#! /bin/bash # # $Id$ # # Subst $Log...$ -> %Log...% in all the subdirectories. # Required for proper diffing of CVSed Linux kernel sourcetrees. find -type f|grep -v /CVS/|xargs perl -i -p -e ' s/\$( Log )(?::[^\$]*)?\$ /\%$1\%/gx; '