mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-02 18:30:52 +00:00
7049588bff
GNU grep 3.8 started to emit warnings when invoking egrep. Convert all calls to grep -E.
8 lines
180 B
Bash
Executable File
8 lines
180 B
Bash
Executable File
#!/bin/sh
|
|
lines=$(expr 0 + $(diff "$1" "$2" | grep -E '^[<>]' | grep -E -v '(Date|InstanceID)' | wc -l))
|
|
if [ "$lines" = "0" ]; then
|
|
echo okay
|
|
else
|
|
diff -a -U 0 "$1" "$2"
|
|
fi
|