Script request

Ray Van Dolson rayvd at bludgeon.org
Fri Jun 15 18:03:53 UTC 2007


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary.sh
Type: application/x-sh
Size: 430 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-infrastructure-list/attachments/20070615/198b60e4/attachment.sh>


More information about the Fedora-infrastructure-list mailing list