diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-09-19 21:23:50 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-09-19 21:23:50 +0000 |
commit | 028bd83c9adc7cef44a37bccbb424b8b43a2eb6b (patch) | |
tree | b9b03644bcb72def1c62398d63d5df778d958aca | |
parent | 3c712482abef695a4a428681708b4cf021610697 (diff) |
error fix
-rw-r--r-- | scripts/find_repeated_words.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/find_repeated_words.sh b/scripts/find_repeated_words.sh index 6d885e60..eac6b383 100644 --- a/scripts/find_repeated_words.sh +++ b/scripts/find_repeated_words.sh @@ -14,7 +14,7 @@ for file in "$@" ; do tr ' \008' '\012' | sed -e '/^$/d' | \ awk 'BEGIN {p=""} {if (p==$0) print p; p=$0 }' | \ grep '[a-zA-Z]' | tr '\012' ' ') - if test -n "X$words"; then + if test -n "$words"; then echo "$file: $words" fi done |