Distribution/Zh/FreeMedia/Scripts

From FedoraProject

< Distribution | Zh | FreeMedia(Difference between revisions)
Jump to: navigation, search
m
m (moved Zh/Distribution/FreeMedia/Scripts to Distribution/Zh/FreeMedia/Scripts: for keeping it related to another pages using actual translation practice)
 

Latest revision as of 11:22, 11 February 2011

Contents

[edit] 脚本

[edit] 保存邮件

WTF?!

[yuan@mstar Jan2008] $ cat > <code>uuid</code>

[edit] 负责人整理列表

[yuan@mstar Jan2008] $ pwd
/home/yuan/fedora/FreeMedia/Jan2008

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

[edit] 整理邮件地址

grep -e '^from' * -h |sed -e 's/^from \+\([^<] *\) \+\(.*\)/"\1" \2/'