summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2003-08-04 15:24:06 +0000
committerache <ache@FreeBSD.org>2003-08-04 15:24:06 +0000
commiteb68bb9971e2fcf776fd03720f86a5c87d85c237 (patch)
treec3b51492502c7835ac185353e0dabf6a4a40f097
parentceff0427d6392786805e4a899bb5a045568cedfb (diff)
downloadFreeBSD-src-eb68bb9971e2fcf776fd03720f86a5c87d85c237.zip
FreeBSD-src-eb68bb9971e2fcf776fd03720f86a5c87d85c237.tar.gz
Fix problem differently, use
LANG=C tr 'a-z' 'A-Z' for hypotetical case that script may generate non-ascii characters
-rw-r--r--lib/libedit/makelist2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libedit/makelist b/lib/libedit/makelist
index bafb4d6..e7ed9ed 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");
OpenPOWER on IntegriCloud