diff options
author | ewt <devnull@localhost> | 1997-01-13 17:23:43 +0000 |
---|---|---|
committer | ewt <devnull@localhost> | 1997-01-13 17:23:43 +0000 |
commit | bd91e242c3044961d54611b0514f98cfe4959965 (patch) | |
tree | 4f5bf8af7436bac8408060543fd0575a48f81f80 /gendiff | |
parent | 052ae10749842cb1ecbe94e80d07691fc576c19e (diff) | |
download | librpm-tizen-bd91e242c3044961d54611b0514f98cfe4959965.tar.gz librpm-tizen-bd91e242c3044961d54611b0514f98cfe4959965.tar.bz2 librpm-tizen-bd91e242c3044961d54611b0514f98cfe4959965.zip |
add mkj's usage message
CVS patchset: 1272
CVS date: 1997/01/13 17:23:43
Diffstat (limited to 'gendiff')
-rw-r--r-- | gendiff | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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} |