⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 intl.tests

📁 android-w.song.android.widget
💻 TESTS
字号:
export LC_ALL=en_US.UTF-8a=$'\303\251'echo "$a"echo ${#a}b=$'A\303\251B'echo "$b"echo ${b: -1}c=AeBecho ${c: -1}unset aa=$(printf '%b' 'A\303\251B')IFS=$(printf '%b' '\303\251')case "$a" in"A${IFS}B")	echo ok 1 ;;*)		echo bad 1 ;;esacset $acase $1 inA)		echo ok 2 ;;*)		echo bad 2 ;;esacset a bprintf '%s\n' "$*"# squeeze out blanks to avoid white space differences in od implementationsprintf '%s' "$*" | od -b | ( IFS=$' \t\n' ;  while read line; do echo $line; done; )# display differences make this problematic${THIS_SH} ./intl1.sub# this tests both international handling in printf and temporary environments${THIS_SH} ./intl2.sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -