永发信息网

怎么在Linux用egrep查找文档中所有以a开头t结尾的单词?

答案:2  悬赏:20  手机版
解决时间 2021-03-30 16:47
  • 提问者网友:呐年旧曙光
  • 2021-03-30 06:47
怎么在Linux用egrep查找文档中所有以a开头t结尾的单词?
最佳答案
  • 五星知识达人网友:一把行者刀
  • 2021-03-30 08:08
#以下五行为 testfile 中包含Linux字符的行 testfile:hello Linux! testfile:Linux is a free Unix-type operating system. testfile:This is a Linux testfile! testfile:Linux testfile:Linux #以下两行为testfile1中含Linux字符的行 testfile1:helLinux! testfile1:This a Linux testfile! #以下两行为 testfile_2 中包含Linux字符的行 testfile_2:Linux is a free unix-type opterating system testfile_2:Linux test
全部回答
  • 1楼网友:旧脸谱
  • 2021-03-30 09:47
gep -o 'a\S*t'
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯