MERCI,
on m'a envoyé un script, et il marche
#!/bin/ksh
DIR1=/DEV/PROD/c
DIR2=/DEV/CERT/c
DIR3=/DEV/COMPARE/c
cd ${DIR1}
ls -1 *.c | while read FILE1
do
FILE2=${DIR2}/${FILE1}
FILE3=${DIR3}/${FILE1}.log
echo "========================================"
echo "========== ${FILE1} ================"
diff ${FILE1} ${FILE2} > ${FILE3}
done