Print a warning when translating subscripted functions
[maxima.git] / doc / info / ru / check_cvs_revisions
blob9a21a1c6abb24891a2c2aa0fbfaabaaf97fc9ccd
1 #!/bin/sh
3 etexi=`find .. -maxdepth 1 -name '*.texi' -print | sort -f | sed -e 's:\.\./::g'`
4 rtexi=`find . -maxdepth 1 -name '*.texi' -print | sort -f | sed -e 's:\./::g'`
6 for ef in $etexi ; do
7 if [ -f ./$ef ] ; then
8 ef_rev=`sed -n -e "/\/$ef\//{s|\/$ef\/\([0-9.]*\)\/.*|\1|p}" ../CVS/Entries`
9 rf_rev=`sed -n -e "/OriginalRevision=/{s|.*OriginalRevision=\([0-9.]*\).*|\1|p}" ./$ef`
10 if [ "x$ef_rev" = "x$rf_rev" ] ; then
11 echo "$ef - Translated."
12 else
13 echo "$ef - *** CVS revisions don't match: Translated=$rf_rev Original=$ef_rev"
14 ( cd .. ; cvs diff -u -r $rf_rev -r $ef_rev $ef > ./ru/${ef}_${rf_rev}_${ef_rev}.diff )
16 else
17 echo "$ef - *** Not translated."
19 done
21 for rf in $rtexi ; do
22 if [ ! -f ../$rf ] ; then
23 echo "$rf - *** No such file in the Original doc directory."
25 done