bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] to retrieve information from a log-file


From: transatlantica
Subject: [Bug-wget] to retrieve information from a log-file
Date: Tue, 31 Mar 2009 17:48:42 +0200

Greetings,

I miss a simple (=convenient) method to analyze the log-files that wget 
produces. grep -L " saved " wget-log* is not sure enough, since in 
localized vesions of wget the word "saved" changes. Additionally 
somebody could make a file my_file saved anywhere.txt . Since the slash 
never occures in the name of the file maybe if the last line looked e.g. 
like:

/// 2009-03-31 16:31:53 (147 KB/s) - saved `./downloads/abcd.efg' 
[1234567/1234567]

and not:

2009-03-31 16:31:53 (147 KB/s) - saved `./downloads/abcd.efg' 
[1234567/1234567]

would solve the problem. Since the pattern occurs at the front of the 
line, it would also make the grep search faster.

Andrzej

----------------------------------------------------
Kontrolują wszystko... oprócz jednego człowieka.
Clive Owen w thrillerze kryminalnym THE INTERNATIONAL
w kinach od 27 marca - Zobacz zwiastun filmu:
http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Ftheinternational.html&sid=682






reply via email to

[Prev in Thread] Current Thread [Next in Thread]