[lkml]   [2003]   [Jan]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[OT] For those who want From: lines on bk-commits-* mail
Mentioned this when the list was first set up; the decision seemed to be
that using a fixed From: line was more polite to people who hadn't
volunteered to have their email addresses archived, or more likely to put
discussions in the right place, or other things along those lines. Well,
for those who would prefer to look at a mailbox summary and know who commits
came from, here's a simple way to do it. I'm sure someone on the list can
find a more elegant solution.

* ^X-Mailing-List:.*bk-commits-head@
| $HOME/bin/

:0 :

cat > $HOME/.tmp/bk-head-tmp.$$

from=`grep '^ChangeSet' $HOME/.tmp/bk-head-tmp.$$ | head -1 | awk '{print $NF}'`
if test -n "$from"; then
formail -i "From: $from" < $HOME/.tmp/bk-head-tmp.$$
cat $HOME/.tmp/bk-head-tmp.$$

rm $HOME/.tmp/bk-head-tmp.$$

Just mkdir $HOME/.tmp before trying this. The tmpdir handling is blatantly
unsafe, so I don't recommend using /tmp.

Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.030 / U:1.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site