网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
在Shell变量引用操作符可实现模式匹配替换其中()用来的含义是若pattern匹配变量stra的头部,则删除最长匹配部分并返回剩余部分。
- A、${stra #pattern}
- B、${stra##pattern }
- C、${stra%pattern}
- D、${stra%%pattern}
参考答案
更多 “在Shell变量引用操作符可实现模式匹配替换其中()用来的含义是若pattern匹配变量stra的头部,则删除最长匹配部分并返回剩余部分。A、${stra #pattern}B、${stra##pattern }C、${stra%pattern}D、${stra%%pattern}” 相关考题
考题
在Shell变量引用操作符可实现字符串替换其中()用来测试如果变量stra存在且不为空,则返回为word,否则返回为空串A.${stra:-word}B.${stra:=word}C.${stra:+word}D.${stra:?word}
考题
在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序A.${stra-word}B.${stra=word}C.${stra:+word}D.${stra:?word}
考题
在Shell变量引用操作符可实现模式匹配替换其中()用来的含义是若pattern匹配变量stra的头部,则删除最长匹配部分并返回剩余部分。A.${strapattern}B.${strapattern}C.${stra%pattern}D.${stra%%pattern}
考题
在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序。A、${stra-word }B、${stra=word }C、${stra: +word }D、${stra: ?word }
考题
在Shell变量引用操作符可实现字符串替换其中()用来测试如果变量stra存在且不为空,则返回为word,否则返回为空串。A、${stra:-word }B、${stra:=word }C、${stra: +word }D、${stra: ?word }
考题
单选题在Shell变量引用操作符可实现模式匹配替换其中()用来的含义是若pattern匹配变量stra的头部,则删除最长匹配部分并返回剩余部分。A
${stra #pattern}B
${stra##pattern }C
${stra%pattern}D
${stra%%pattern}
考题
单选题在Shell变量引用操作符可实现字符串替换其中()用来测试,如果变量stra存在,则返回为变量stra的值,否则输出为word,并退出当前脚本程序。A
${stra-word }B
${stra=word }C
${stra: +word }D
${stra: ?word }
考题
单选题在Shell变量引用操作符可实现字符串替换其中()用来测试如果变量stra存在且不为空,则返回为word,否则返回为空串。A
${stra:-word }B
${stra:=word }C
${stra: +word }D
${stra: ?word }
考题
单选题在编辑Word文档时,要将字符串“Excel”替换为“excel”只有在“查找和替换”对话框中设定()时才能实现。A
区分大小写B
区分全半角C
全字匹配D
模式匹配
热门标签
最新试卷