nsbin/sort-mails

7 lines
111 B
Plaintext
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
[ -f "$1" ] || exit 1
echo "Sorting $1 .."
cat "$1" | procmail && (echo removing "$1"; rm -f "$1")