#!/bin/bash # these are for spamc HAM_REPORT="spamc --learntype=ham" for file in "$@"; do $HAM_REPORT < "$file" >/dev/null 2>&1; done