Gary Franks schreef:
I am new to grep and loving what I can do with it. Of course, until I get stumped.
I can't find in the BBEdit Grep help how to exclude a word.
I am trying to find all lines in a document that do not include the word "foo".
I'm sure it's simple, but I have failed continually to figure it out.
Hope you can help.
Gary

There is no regular expression to do what you describe. The unix command grep has the command flag '-v' to achieve this.
You can run the unix command grep on your lines as you know :-)
So you have to apply the unix command "grep -v <pattern>" on your text.

   Fred


--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to