$*!'%`^$!

This commit is contained in:
Eric Petit 2006-05-31 13:03:19 +00:00
parent 6e06b16ec1
commit 0d682e2f83
1 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,8 @@ REVMAX=0
for pattern in '*.[chm]' '*.cpp' '*.po' '*.mk' 'Makefile' 'configure'; do
for f in `find . -name "$pattern"`; do
REV=`sed -e '/\$Id:/!d' -e \
's/.*\$Id$f`
's/.*\$Id: [^ ]* \([0-9]*\) .*/\1/' \
$f`
if [ -n "$REV" ]; then
if [ "$REV" -gt "$REVMAX" ]; then
REVMAX="$REV"