UPDATE ......From Tuesday 8 April 2025 we have changed the way that Single Sign-on works on this wiki. Please see here for more information:
Update
To filter a list:
test@gmail.com whateverwsersdfsdfsd test2@gmail.com asdfasdlkfjsd
with a blacklist as such:
test@gmail.com
and retain the second part of the original list:
ruby -e 'h = Hash[*File.read("whatever").split(/[, \n]+/)].reject { |k| File.foreach("blacklist").grep(/#{k}/).any? }; puts h'