libedit: make makelist compatible with solaris 10

solaris 10 tr doesn't support [:upper:] and [:lower:]; work around
since we only need ascii letters anyway
This commit is contained in:
Daria Phoebe Brashear
2018-04-19 17:26:14 -04:00
committed by Nico Williams
parent c75bb31a9c
commit 6b3ce5d229

View File

@@ -127,7 +127,7 @@ case $FLAG in
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
sort | tr '[:lower:]' '[:upper:]' | $AWK '
sort | tr '[a-z]' '[A-Z]' | tr -d ' ' | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
count = 0;