of Debian Linux has an English dictionary with Latin-1 characters and a "rev"
that seems to default to some sort of Unicode.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16690
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-08-27 Ken Raeburn <raeburn@mit.edu>
+
+ * run.test (getnwords): Run data through "cat -v", because at
+ least one version of Debian Linux has an English dictionary with
+ Latin-1 characters and a "rev" that seems to default to some sort
+ of Unicode.
+
2004-08-15 Ken Raeburn <raeburn@mit.edu>
* run.test (getnwords): Rewrite to drop blank lines before
}
getnwords() {
- sed -e '/^$/d' < $DICT | sed -e ${1}q
+ # Delete blank lines because the db code appears not to
+ # like empty keys. On Debian Linux, $DICT appears to contain
+ # some non-ASCII characters, and "rev" chokes on them.
+ sed -e '/^$/d' < $DICT | cat -v | sed -e ${1}q
}
# Take the first hundred entries in the dictionary, and make them