深入学习ing

shell 脚本中 在grep -E '($wo|$ni|$ta)' 这里面用变量

改为双引号,单引号会屏蔽$的取值功能。
grep -E "($wo)|($ni)|($ta)"

 

转载:https://zhidao.baidu.com/question/303833200.html

posted on 2020-11-14 15:07  深入学习ing  阅读(882)  评论(0编辑  收藏  举报

导航