From: Paul Eggert Date: Sat, 6 Jul 2019 14:48:15 +0000 (-0700) Subject: Fix [[:xdigit:]] glitch on Solaris X-Git-Tag: emacs-27.0.90~2085 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3a1fa9ed3f549ea9ac1eb07653d631372379c522;p=emacs.git Fix [[:xdigit:]] glitch on Solaris * admin/charsets/mapconv: Revert this [[:xdigit:]] change. Solaris 10 ‘sed’ does not support [[:xdigit:]]. --- 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: