aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 15:24:06 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2003-08-04 15:24:06 +0000
commit11871d537bc79b9c092fb2d5e6e707c5fffa1e47 (patch)
treec3b51492502c7835ac185353e0dabf6a4a40f097
parent9d4fcfe94cc24a685fa9f8b4517efc5dff796786 (diff)
downloadsrc-11871d537bc79b9c092fb2d5e6e707c5fffa1e47.tar.gz
src-11871d537bc79b9c092fb2d5e6e707c5fffa1e47.zip
Fix problem differently, use
LANG=C tr 'a-z' 'A-Z' for hypotetical case that script may generate non-ascii characters
Notes
Notes: svn path=/head/; revision=118430
-rw-r--r--lib/libedit/makelist2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index bafb4d637c21..e7ed9ed7cd34 100644
--- a/lib/libedit/makelist
+++ b/lib/libedit/makelist
@@ -146,7 +146,7 @@ case $FLAG in
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | tr '[:lower:]' '[:upper:]' | $AWK '
+ sort | 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");