summaryrefslogtreecommitdiff
path: root/gendiff
blob: 0a0695f3142e613d88a389dbfa85b0d095b693da (plain)
1
2
3
4
5
6
#!/bin/bash

find $1 \( -name "*$2" -o -name ".*$2" \) -print |
while read f; do
	diff -u $f ${f%%$2}
done