Files
loongoffice/l10ntools/source/gDiff.sh
jan Iversen c96118225d genlang, made gDiff.sh intelligent
Removed output from identical files

Change-Id: Id9619b7cd005aa8087fcccf4e679ee13e14955eb
2016-05-05 13:02:51 +00:00

21 lines
296 B
Bash
Executable File

#!/bin/bash
cd workdir/pot
find . > /tmp/jix1
cd ../jan
find . > /tmp/jix2
echo ">>>>> FILELIST DIFF >>>"
diff /tmp/jix1 /tmp/jix2
for i in `find . -name \*.pot`
do
CMD=$(diff ../pot/$i $i | sed '/^6c6$/,/^16c16$/d')
if [ "$CMD" != "" ]
then
echo ">>>>>>>> " $i
echo "$CMD"
fi
done