[dokuwiki] Re: Extracting user email address

On Tue, 17 Oct 2006 08:41:47 -0400
"Bob McConnell" <rvm@xxxxxxxxx> wrote:

> Good morning,
> 
> Has anyone written a decent script to extract, sort and unique the
> users' email addresses. Occasionally I need to send a notice to all
> registered users on our company wiki, but even with only 10% of the
> employees registered, building that list takes more time than I can
> spare. I need something that will build a comma separated list I can
> paste into lookOut.

awk -F: '{print $4 ","}' conf/users.auth.php |sort -u| xargs

should be good enough


Andi

-- 
http://www.splitbrain.org

Other related posts: