Re: OT: Unix Geek Needed
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 63550
interpreted = N
texte = On 12/1/05 1:05 PM, "John Peacock"
wrote:> Clint Davis wrote:>> I have an ENORMOUS web log due to a 404 error looping. I can't open this in>> BBEdit or any other text editor because it's over 14GB! How can I remove all>> lines in this file that contain "404.html" via the command line? I'm not up>> on my grep, sed, awk, etc.> > # mv logfile logfile.bak> # fgrep -v "404.html" logfile.bak > logfileHow could this be modified so the action is performed on the original filewith no need for a backup?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
On 12/1/05 1:05 PM, "John Peacock" wrote:> Clint Davis wrote:>> I have an ENORMOUS web log due to a 404 error looping. I can't open this in>> BBEdit or any other text editor because it's over 14GB! How can I remove all>> lines in this file that contain "404.html" via the command line? I'm not up>> on my grep, sed, awk, etc.> > # mv logfile logfile.bak> # fgrep -v "404.html" logfile.bak > logfileHow could this be modified so the action is performed on the original filewith no need for a backup?-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Clint Davis
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
WebCat2: Master Counter snippet (1997)
Re:Change WebDNA-Talk Mail due to no digest for 1wk (1997)
Banner DNA (1997)
WebDNA on Linux (2005)
Help! WebCat2 bug (1997)
Mac: [ListFiles] bug alert (1997)
Multiple prices (1997)
[Math] Problem!!!! (2004)
[INCLUDE] Limitations (1998)
Country & Ship-to address & other fields ? (1997)
Resume Catalog ? (1997)
[OT] Checkboxes! Javascript? (2005)
Exclamation point (1997)
[searchString] (1997)
ThisURL and getting domain/server address (2005)
(1997)
How to Sort Summ data ? (1997)
Apache 2.2 (2007)
ARGH! (2003)
WebCat and PIXO (2000)