On Sun, 23 Mar 2014 18:09:56 +0100 Bertrand Jacquin <be...@meleeweb.net> said:

> D'ar gwener 21 a viz Meurzh 2014 e 09 eur 47, « Carsten Haitzler » he deus
> skrivet :
> > On Wed, 19 Mar 2014 16:42:47 +0100 Bertrand Jacquin <be...@meleeweb.net>
> > said:
> > 
> > i'll use that next time. i've dumped it into a script in $HOME there on
> > git.e.org :)
> 
> I made a few changes to that script to only report write access
> (git-receive-pack), and to also look in compressed logs. There were in
> issue do subshell do making the script to not work:

also stored... but man this one is nice and slow. :)

> getent passwd |
>    awk 'BEGIN { FS=":" }
>      {
>        if ($3 > 1000 && $3 < 9999 && $7 != "/sbin/nologin") {
>          print $1
>        }
>      }' |
>    while read ; do
>      {
>        xzcat /var/log/gitolite/gitolite-*.log.xz
>        cat /var/log/gitolite/gitolite-*.log
>      } |
>      awk -v REPLY="${REPLY}" 'BEGIN { LAST="never" }
>        {
>          if ($2 == REPLY && $4 == "git-receive-pack") {
>            LAST=$1
>          }
>        }
> 
>        END { print REPLY,LAST }'
>     done
> 
> -- 
> Beber
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to