--- contrib/libedit/makelist.orig	2001-12-17 07:55:26.000000000 +0800
+++ contrib/libedit/makelist	2007-08-31 20:32:51.000000000 +0800
@@ -128,8 +128,8 @@
 	    printf("#endif /* _h_help_c */\n");
 	}' /dev/null;;
 -fh)
-    cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
-    sort | tr '[a-z]' '[A-Z]' | $AWK '
+    env LANG=C cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
+    sort | env LANG=C tr '[a-z]' '[A-Z]' | $AWK '
 	BEGIN { 
 	    printf("/* Automatically generated file, do not edit */\n");
 	    printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");

	
