aboutsummaryrefslogtreecommitdiffstats
path: root/qpdf/qtest/qpdf/diff-encrypted
blob: 64c0b2a836acabf2bcfde47c3a88a0654cce6db4 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh
lines=$(expr + $(diff $1 $2 | egrep '^[<>]' | egrep -v 'Date' | wc -l))
if [ "$lines" == "0" ]; then
   echo okay
else
   diff -a -U 0 $1 $2
fi