At 10:51 AM -0800 2006/11/13, Larry Israel wrote:

I've not has a much experience as you have with trying to open large files
in BBEdit, but the last few months, I've had similar problems. You
described what happens very well. On my G4/800 desktop with 1 GB of RAM,
when opening a web log file that, one month was 100 MB and this month was
170 MB, I had the same problem with BBEdit refusing to do it. After a few
restarts and running only BBEdit, BBEdit eventually opened the file after
I went away and waited for many minutes (I think I went to lunch or
something). One time I just did it overnight and the file was open in the
morning.

With the web traffic increasing, I've been considering other measures,
such as either command-line editing (as others mentioned, tho I'd rather
avoid the hassle), or downloading the log file also on the 15th of the
month so that the two halves are smaller and I can edit them in BBEdit. I
could also try moving the log file to my (faster) MacBook and see if that
helps. I appreciate the tips given, to turn off line wrapping (etc.) and
I'll try that next month.

Larry,

Do you want to see everything? You can pass fragments from the file with grep. The first gives you a character count, to see if you picked a manageable snippet, and the second feeds all the lines from November 10-19 to BBEdit as a new text file:

[EMAIL PROTECTED]:~$ egrep "1?/Nov/2006" /var/log/httpd/2006/www.reppep.com-2006-11-access_log |wc
   26617  468712 5344274
[EMAIL PROTECTED]:~$ egrep "1?/Nov/2006" /var/log/httpd/2006/www.reppep.com-2006-11-access_log | bbedit

You could certainly put the grep into a shell worksheet so you wouldn't have to visit Terminal to slurp in a bunch of lines, if you want.


                                                Chris
--
Chris Pepper:               <http://www.reppep.com/~pepper/>
                            <http://www.reppep.com/weblog/pepper/>
Rockefeller University:     <http://www.rockefeller.edu/>

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