On 16/03/2017, Sam Kuper <sam.ku...@uclmail.net> wrote: > Looks like there are only 172 additional Coreboot wiki contributors to > account for :) > > curl -s \ > 'https://www.coreboot.org/index.php?title=Special:ListUsers&offset=&limit=500' > \ > | grep '^<option value="widgeteditor">' coreboot_users.html \ > | sed 's/<li>/\n/g' \ > | grep 'Special:Contributions/[^"]*">' \ > | perl -pe 's/^(.+?User:)([^"&]+?)(["&].*$)/$2/g' \ > | wc -l
Sorry for the typo on line 3 of the above script. That should have been: curl -s \ 'https://www.coreboot.org/index.php?title=Special:ListUsers&offset=&limit=500' \ | grep '^<option value="widgeteditor">' \ | sed 's/<li>/\n/g' \ | grep 'Special:Contributions/[^"]*">' \ | perl -pe 's/^(.+?User:)([^"&]+?)(["&].*$)/$2/g' \ | wc -l N.B. If you want to see the usernames of the Coreboot wiki users who have actually made contributions, just leave off the last line. -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot