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 :)

> getent passwd |
>    awk 'BEGIN { FS=":" }
>      {
>        if ($3 > 1000 && $3 < 9999 && $7 != "/sbin/nologin") {
>          print $1
>        }
>      }' |
>    while read ; do
>      awk -v REPLY="${REPLY}" '{
>        if ($2 == REPLY) {
>          print $1
>        }
>      }' /var/log/gitolite/gitolite-*.log |
>      tail -n 1 |
>      read LAST
> 
>      echo "${REPLY} ${LAST:-never}"
>    done

-- 
------------- 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