Fun script of the day, I can't believe I have lived this long without it. Use at your own risk, and of course, change the last 'grep' to be your name, not mine.

On the other hand, it will keep me from seeing your patches, which might be a nice thing :)

----------------------
$ cat ~/bin/cc-get_maintainer
#!/bin/bash

M=`mktemp ~/tmp/names.XXXXXX` || exit 1
./scripts/get_maintainer.pl --file $1 | cut -f 1 -d '(' | grep '<' | grep -v Kroah > ${M}
while read NAME; do
echo "Cc: ${NAME}"
done < ${M}
rm ${M}
---------------------
Shared publiclyView activity