emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 3a1fa9e: Fix [[:xdigit:]] glitch on Solaris


From: Paul Eggert
Subject: [Emacs-diffs] master 3a1fa9e: Fix [[:xdigit:]] glitch on Solaris
Date: Sat, 6 Jul 2019 10:49:57 -0400 (EDT)

branch: master
commit 3a1fa9ed3f549ea9ac1eb07653d631372379c522
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    Fix [[:xdigit:]] glitch on Solaris
    
    * 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 2696b13..8e19972 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:



reply via email to

[Prev in Thread] Current Thread [Next in Thread]