Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • since . is used this will match cardsajs as well Commented Apr 15, 2019 at 12:10
  • @oguzismail as I use find command to find only .txt, .html, .css, .js and .yml there is no risk for cardsajs to be matched as well, is there? Commented Apr 15, 2019 at 12:30
  • @Marcin yeah. it will match cardajs.js as well Commented Apr 15, 2019 at 12:42
  • 1
    @Marcin it wouldn't match filenames containing spaces Commented Apr 15, 2019 at 13:22
  • 1
    and no, you need to specify -w just once. like grep -v -w -e file1 -e file2 Commented Apr 15, 2019 at 13:23