summaryrefslogtreecommitdiff
path: root/src/make_property.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:27 +0200
committerJörg Frings-Fürst <debian@jff.email>2022-04-29 15:21:27 +0200
commita18b0a88c2af4bc0c371f2e76fb3d75e88f1ff77 (patch)
treec42c12a03537b21e5ec847c489529a0733ba8f6b /src/make_property.sh
parente179aaa7fd01fa35bb86aab50ff6132bf94533c5 (diff)
parentb221fe9845ea6d4639db16221f6fa8ab2ad11d8e (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/make_property.sh')
-rwxr-xr-xsrc/make_property.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make_property.sh b/src/make_property.sh
index 1c5e0f5..c457ff5 100755
--- a/src/make_property.sh
+++ b/src/make_property.sh
@@ -11,10 +11,10 @@ GPERF_OPT='-pt -T -L ANSI-C'
ADD_CAST='s/return +len +\+ +asso_values/return (unsigned int )len + asso_values/'
${GPERF} ${GPERF_OPT} -N onigenc_euc_jp_lookup_property_name --output-file ${TMP1} euc_jp_prop.gperf
-cat ${TMP1} | ${SED} -r "${ADD_CAST}" > euc_jp_prop.c
+cat ${TMP1} | ${SED} -E "${ADD_CAST}" > euc_jp_prop.c
${GPERF} ${GPERF_OPT} -N onigenc_sjis_lookup_property_name --output-file ${TMP2} sjis_prop.gperf
-cat ${TMP2} | ${SED} -r "${ADD_CAST}" > sjis_prop.c
+cat ${TMP2} | ${SED} -E "${ADD_CAST}" > sjis_prop.c
rm -f ${TMP1} ${TMP2}