shell中expr用法 shell中的expr index是什么意思?
shell中的expr index是什么意思?字符串操作: 提取指定字符的下標(biāo):expr index 內(nèi)容 字符,例如:$ind=`expr index "$content" "="` 提取字符串的子
shell中的expr index是什么意思?
字符串操作:
提取指定字符的下標(biāo):expr index 內(nèi)容 字符,例如:$ind=`expr index "$content" "="`
提取字符串的子串:expr substr 內(nèi)容 起始位置 終點(diǎn)位置,例如:$con=`expr substr "$content" "1" $ind