Shell: Find if two strings are present in a file when strings share a substring?

后端 未结 0 1350
心在旅途
心在旅途 2021-01-23 08:54

I must create a shell script that does the following:

IF "foo" is not in FILE or "boofoogoo" is not in FILE THEN:
  doSomething

  IF "fo         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题