projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
052ae10
)
add mkj's usage message
author
ewt
<devnull@localhost>
Mon, 13 Jan 1997 17:23:43 +0000
(17:23 +0000)
committer
ewt
<devnull@localhost>
Mon, 13 Jan 1997 17:23:43 +0000
(17:23 +0000)
CVS patchset: 1272
CVS date: 1997/01/13 17:23:43
gendiff
patch
|
blob
|
history
diff --git
a/gendiff
b/gendiff
index
0a0695f
..
3287936
100644
(file)
--- a/
gendiff
+++ b/
gendiff
@@
-1,5
+1,11
@@
#!/bin/bash
+[ -z "$1" -o -z "$2" ] && {
+# usage
+ echo "usage: $0 <directory> <diff-extension>" 1>&2
+ exit 1
+}
+
find $1 \( -name "*$2" -o -name ".*$2" \) -print |
while read f; do
diff -u $f ${f%%$2}