Distribution/Zh/FreeMedia/Scripts

保存邮件
WTF?! [yuan@mstar Jan2008] $ cat >

负责人整理列表
[yuan@mstar Jan2008] $ pwd /home/yuan/fedora/FreeMedia/Jan2008

[yuan@mstar Jan2008] $ for i in ; do \ cat $i |grep -e '^\(from\|for\)[^<] *' -o \ done > list
 * sed -e 's/^from \+\(.*\) \+$/ * \1/' \
 * sed -e 's/for \+\(.*\) \+media:/(\1)/' \
 * tr '\n' ' '; echo; \

整理邮件地址
grep -e '^from' * -h |sed -e 's/^from \+\([^<] *\) \+\(.*\)/"\1" \2/'