You could try using the 'Process lines containing...' menu command, and pulling out the matching lines, leaving you with the lines that don't contain the match. It can match using grep if necessary.

R

On 21 Apr 2007, at 15:31, Tyler Queen wrote:

I want to use Grep to find every line in a file that doesn't contain a certain string. For example, if I have:

hello line 1
hello line 2
hello line 3
goodbye line 4
hello line 5

I want to find every line that doesn't contain "goodbye".


--
------------------------------------------------------------------
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]>


Richard Dyce MA (Cantab.) MBCS MIET | Director

Richard Dyce Consultants Ltd.
Business Consultancy | Training | Systems | Bespoke Applications Programming
MySQL, PHP, JavaScript, FileMaker, AppleScript Studio

Contact: Add me to your address book
Web:        http://dyce.com
Bio:          http://www.linkedin.com/in/rjdyce

Registered Number: 4890568
VAT Number: 825 3090 44
Registered Office
9 Friary Gardens Winchester SO23 9AF
Incorporated in England and Wales.

Confidentiality Notice
The contents of this e-mail and any attachments are intended for the named addressee only and may be confidential. Unless you are the named addressee or authorised to receive the e-mail of the named addressee you may not disclose, use or copy the contents of the e- mail. If you received the e-mail in error, please contact the sender immediately and then delete the e-mail. Richard Dyce Consultants Ltd. does not accept responsibility for this message and any views or opinions contained in this e-mail are solely those of the author unless expressly stated otherwise.




--
------------------------------------------------------------------
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