查找字符 "i 或 s" 的位置:
string="runoob is a great company" echo `expr index "$string" is` # 输出 8
Copyright© 2013-2020
All Rights Reserved 京ICP备2023019179号-8