It's not really BBEdit related, but you can do the following from the command-line:
grep -v unwanted_user_name logfile.log > filteredfile.log if the file is gzipped: gzcat logfile.log.gz | grep -v unwanted_user_name > filteredfile.log As mentioned earlier, you can read through BBEdit's grep reference under the Help menu. The grep man page may also be helpful. --bernie On Nov 30, 2006, at 2:01 PM, W. Thomas Leroux wrote:
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!
-- ------------------------------------------------------------------ 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]>
