Sign in
third-party-mirror
/
GRTEv5
/
ee502f3613c105af57d6cbc317eec7bab7b5cc6b
/
.
/
google3
/
third_party
/
grte
/
v5_src
/
glibc-2.27
/
sysdeps
/
s390
/
multiarch
/
gen-8bit.sh
blob: 6f88c4bd9df1c999b60e57bcbdd5c6a3bbcf03cc [
file
] [
log
] [
blame
]
#!/bin/sh
echo
"static const uint8_t to_ucs1[256] = {"
sed
-
ne
'/^[^[:space:]]*[[:space:]]*.x00/d;/^END/q'
\
-
e
's/^<U00\(..\)>[[:space:]]*.x\(..\).*/ [0x\2] = 0x\1,/p'
\
"$@"
|
sort
-
u
echo
"};"