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

📄 casemod.tests

📁 android-w.song.android.widget
💻 TESTS
字号:
S1=acknowledgementS2=oenophileecho ${S1^}echo ${S1^^}echo ${S2^[aeiou]}echo ${S2^^[aeiou]}U1=${S1^^}U2=${S2^^}echo ${U1,}echo ${U1,,}echo ${U2,}echo ${U2,[AEIOU]}echo ${U2,,[AEIOU]}A1=( $S1 $S2 )echo ${A1[@]^[aeiou]}echo ${A1[@]^^[aeiou]}A2=( $U1 $U2 )echo ${A2[@],[AEIOU]}echo ${A2[@],,[AEIOU]}echo ${A2[@],?}echo ${A2[@],,?}declare -A AA1 AA2AA1[ack]=$S1AA1[oen]=$S2echo ${AA1[@]^}echo ${AA1[@]^^}echo ${AA1[@]^[aeiou]}echo ${AA1[@]^^[aeiou]}AA2[ACK]=$U1AA2[OEN]=$U2echo ${AA2[@],}echo ${AA2[@],,}echo ${AA2[@],[AEIOU]}echo ${AA2[@],,[AEIOU]}set -- $S1 $S2echo ${@^}echo ${@^^}echo ${S1^[rstlne]} ${S2^[rstlne]}echo ${S1^^[rstlne]} ${S2^^[rstlne]}echo ${@^[rstlne]}echo ${@^^[rstlne]}echo ${S1,[rstlne]} ${S2,[rstlne]}echo ${S1,,[rstlne]} ${S2,,[rstlne]}echo ${@,[rstlne]}echo ${@,,[rstlne]}echo ${@^?}echo ${@^^?}# make sure that multiple words in the string are handled as other expansionsTEXT="Be Conservative in what you send and Liberal in what you accept"TEXT2="be conservative in what you send and liberal in what you accept"declare -u foofoo=$TEXTecho $foodeclare -l barbar=$TEXTecho $bardeclare -c quxqux=$TEXTecho $quxqux=$TEXT2echo $quxecho ${TEXT,}echo ${TEXT,,}echo ${TEXT^}echo ${TEXT^^}echo ${TEXT2^}echo ${TEXT2^^}

⌨️ 快捷键说明

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