ports/net/asterisk-devel/files/patch-editline::makelist
Maxim Sobolev d1fc3c4591 Use [:lower:]/[:upper:] instead of [a-z]/[A-Z] in tr(1), since the latter
may not work in some locales.

PR:		75193
Submitted by:	Stuart Barkley <stuartb@4gh.net>
2005-06-18 18:38:33 +00:00

14 lines
362 B
Text

$FreeBSD$
--- editline/makelist
+++ editline/makelist
@@ -145,7 +145,7 @@
#
-fh)
cat $FILES | $AWK '/el_action_t/ { print $3 }' | \
- sort | tr '[a-z]' '[A-Z]' | $AWK '
+ sort | tr '[:lower:]' '[:upper:]' | $AWK '
BEGIN {
printf("/* Automatically generated file, do not edit */\n");
printf("#ifndef _h_fcns_c\n#define _h_fcns_c\n");