rpm/gendiff

7 lines
85 B
Plaintext
Raw Normal View History

#!/bin/bash
find $1 -name "*$2" -print |
while read f; do
diff -u $f ${f%%$2}
done