#!/bin/bash comm -13 <(sort user-whitelist.txt) <( < show-edit-counts.txt \ grep -v 'blockreason:' | grep -v 'total_editcount: 0\b' | grep 'existing_editcount: 0\b' | cut -d $'\t' -f1 | cut -d ' ' -f2- | sort) | ./block-users.rb "Spammer (Autodetected: has made edits, but only to deleted pages)"