grep >word anywhere in the file -


How do I grep & gt; How can I say the word where words can be a word without grepping the word? For the past, if the word is apple, I would like to retrieve all the lines & gt; How do Apell and Apell do about the beginning of the lines & gt; Words (and not words again)?

thanks

Carol

's < Code> ^ Anchor is enough to use, which is the starting line. For example, if your Input file contains the following: / P>
  & gt; Appeal appell   

then

  $ grep '^ & gt; Apple's input   

will come back

  & gt; apple    

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -