Hi,

In this case, I would recommend that you take just a few minutes to at least read the BBEdit chapter on GREP searches. You certainly won't understand grep from doing that but it will allow you to at least be able to frame your questions more precisely and also get more out of any answers. All log files aren't the same and thus it is pretty much impossible to give an answer based on your information. Reading that chapter will take maybe half an hour or so.

John

Division of Oncology
Department of Medicine
Stanford University
Stanford, CA 94305


On Nov 30, 2006, at 2:01 PM, W. Thomas Leroux wrote:

Hey all

I have a rather large (~20MB) log file, and I want to delete all the
lines that *don't* contain a string (in this case, a username).

I'm sure there is some kind of greppy goodness that can be applied to
accomplish this, but I don't know the first thing about grep. :-/

Any suggestions?  Thank you!

Thomas.

--
All about me!
http://www.leroux.ca

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



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