Hi!

 If you wondered about my mass Makefile commit in the german directory,
I've found an easy way to check for outdated Makefiles and I'd like to
share it with you all:

#v+
for i in `find german -name Makefile `; do
        if [ -n "$(diff `echo $i | sed 's/^german/english/'` $i)" ]; then
                cp `echo $i | sed 's/^german/english/' $i
        fi
done
#v-

 Personally I just did an echo of the outdated Makefile in the if part
to be able to check that file - but I guess it should be save to do this
non-interactive (any it doesn't commit it automatically anway).

 I would sugguest translators to run this script every now and then to
check their directories every now and then....

 So long,
Alfie
P.S.: Maybe it would be useful to add an output of that to the
        stattrans.pl script or such.  Just a first idea.
-- 
-!- Gromitt_ is now known as Gromitt
<Getty> oh scheisse, gromitt wird wach
<Getty> da hab ich jetzt soviele lines gemacht in den letzten 24 std.
<Getty> und jetzt kommt der wieder ;)            -- #debian.de

Reply via email to