diff --git a/ble-decode.sh b/ble-decode.sh index bed52df6..fa13699d 100755 --- a/ble-decode.sh +++ b/ble-decode.sh @@ -1582,7 +1582,7 @@ function ble-decode-byte+UTF-8 { local mode="$_ble_decode_byte__utf_8__mode" local byte="$1" local cha0= char= - ((' + (( byte&=0xFF, (mode!=0&&(byte&0xC0)!=0x80)&&( cha0=ble_decode_Erro|code,mode=0 @@ -1621,7 +1621,7 @@ function ble-decode-byte+UTF-8 { ) ) ) - ')) + )) _ble_decode_byte__utf_8__code="$code" _ble_decode_byte__utf_8__mode="$mode" diff --git a/ble-edit.sh b/ble-edit.sh index e16ebcc7..555bf557 100755 --- a/ble-edit.sh +++ b/ble-edit.sh @@ -144,7 +144,7 @@ function .ble-text.c2w+emacs { # なので ret に予め適当な値を設定しておく事にする。 ret=1 - ((' + (( code<0xA0?( ret=1 ):(0x3100<=code&&code<0xA4D0||0xAC00<=code&&code<0xD7A4?( @@ -177,7 +177,7 @@ function .ble-text.c2w+emacs { ret=0x01<=al&&al<0x61||0xE0<=al&&al<=0xE7?2:1 ):(ret=1)))))))))) ))) - ')) + )) [[ $tIndex ]] || return 0 @@ -2276,10 +2276,10 @@ function ble-edit+insert-string { local dx="${#ins}" _ble_edit_str.replace _ble_edit_ind _ble_edit_ind "$ins" - ((' + (( _ble_edit_mark>_ble_edit_ind&&(_ble_edit_mark+=dx), _ble_edit_ind+=dx - ')) + )) _ble_edit_mark_active= } function ble-edit+self-insert {