handle dot files
authorroot <devnull@localhost>
Fri, 10 May 1996 16:24:05 +0000 (16:24 +0000)
committerroot <devnull@localhost>
Fri, 10 May 1996 16:24:05 +0000 (16:24 +0000)
CVS patchset: 570
CVS date: 1996/05/10 16:24:05

gendiff

diff --git a/gendiff b/gendiff
index 8b0c959..0a0695f 100644 (file)
--- a/gendiff
+++ b/gendiff
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-find $1 -name "*$2" -print |
+find $1 \( -name "*$2" -o -name ".*$2" \) -print |
 while read f; do
        diff -u $f ${f%%$2}
 done