Revision: 16429
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 4, 2009 00:18 by Figjam
Initial Code
find /var/spool/mqueue -type f -name 'qf*' -exec sh -c 'grep -s "Subject: " "$@" | sort -k2 | uniq -f 2 -c | sort -k1n' sh {} +
Initial URL
Initial Description
Sort the contents of /var/spool/mqueue by subject and the number of times it shows.
Initial Title
Sendmail: Sort the contents of /var/spool/mqueue by subject.
Initial Tags
Initial Language
Bash