From 028bd83c9adc7cef44a37bccbb424b8b43a2eb6b Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Wed, 19 Sep 2007 21:23:50 +0000 Subject: [PATCH] error fix --- scripts/find_repeated_words.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/find_repeated_words.sh b/scripts/find_repeated_words.sh index 6d885e60a..eac6b3838 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