Re: Script request

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

 



On Fri, Jun 15, 2007 at 12:36:24PM -0500, Mike McGrath wrote:
>  I've got a script request for anyone who's interested (I'm both busy and too 
>  lazy to write it myself)
> 
>  I'd like to count the number of 'updates-released-7' requests in our mirror 
>  logs that have happened in the last 24 hours.  The script should take two 
>  files as input and return a single integer, using bash.  Here's a sample 
>  log:
> 
>  http://mmcgrath.net/~mmcgrath/mirrors
> 
>  happy hacking

Would something as simple as (see attached) work?

And did you perhaps mean "updates-released-f7" instead of
"updates-released-7"?  Easy to change in any case.

Ray

Attachment: summary.sh
Description: Bourne shell script


[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux