From 3a1fa9ed3f549ea9ac1eb07653d631372379c522 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 6 Jul 2019 07:48:15 -0700 Subject: [PATCH] Fix [[:xdigit:]] glitch on Solaris MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * admin/charsets/mapconv: Revert this [[:xdigit:]] change. Solaris 10 ‘sed’ does not support [[:xdigit:]]. --- admin/charsets/mapconv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/charsets/mapconv b/admin/charsets/mapconv index 2696b13a52e..8e19972f3df 100755 --- a/admin/charsets/mapconv +++ b/admin/charsets/mapconv @@ -118,7 +118,7 @@ elif [ "$3" = "IANA" ] ; then # Source format is: # 0xXX 0xYYYY sed -n -e "${2}p" < $1 \ - | sed -e 's/\(0x[[:xdigit:]]*\)[^0]*\(0x[[:xdigit:]]*\).*/\1 \2/' \ + | sed -e 's/\(0x[0-9A-Fa-f]*\)[^0]*\(0x[0-9A-Fa-f]*\).*/\1 \2/' \ | sort | ${AWKPROG} elif [ "$3" = "UNICODE" ] ; then # Source format is: -- 2.39.2