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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -