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:

committed by
Nico Williams

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