summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-09-19 21:23:50 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-09-19 21:23:50 +0000
commit028bd83c9adc7cef44a37bccbb424b8b43a2eb6b (patch)
treeb9b03644bcb72def1c62398d63d5df778d958aca
parent3c712482abef695a4a428681708b4cf021610697 (diff)
error fix
-rw-r--r--scripts/find_repeated_words.sh2
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