On Thu, Sep 18, 2003 at 11:39:31AM +0530, Subin Shahul Hameed wrote:

>>>Please give me a command or  perl expression so that I can feed the
>>>date format of Squid log a get a normal date format.

tail -n 2500 /var/log/squid/access.log | perl -p -e 's/^(\d+)/localtime($1)/e' > 
/var/www/usage.log

Regards
-- 
 .''`.     Dileep M. Kumar <[EMAIL PROTECTED]>
: :'  :    http://www.kumarayil.net
`. `'`
  `-  Debian GNU/Linux - Choice of the Freedom Lovers


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to