Sort by

recency

|

79 Discussions

|

  • + 0 comments
    grep -w "the"
    
  • + 0 comments

    Try this people

    grep -w 'the'

  • + 0 comments

    grep -w "the"

    -w, --word-regexp Select only those lines containing matches that form whole words. The test is that the matching substring must either be at the beginning of the line, or preceded by a non-word constituent character. Similarly, it must be either at the end of the line or followed by a non-word constituent character. Word-constituent characters are letters, digits, and the underscore. This option has no effect if -x is also specified.

  • + 0 comments

    grep "\bthe\b"

  • + 0 comments

    Also you can use grep "\<the\>"