On Dec 1, 2006, at 12:32 PM, BBEdit-Talk List 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.

Others have told you to RTFM -- and that is always good advice.

If you would like a grepping lesson file I developed, I can send it to you privately, as well. How precisely you craft your grep is predicated on the structure of the lines in the log.

vail

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