Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0e0020d1c5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 17 lines (10 sloc) 0.428 kb
#!/bin/bash
for PATCH in $*
do
TMPFILE=`mktemp example.XXXXXX` || exit 1
echo "TMPFILE=$TMPFILE"
perl ~/linux/scripts/mime_dump --headers From,Date,Subject,To,Cc,Message-ID,Content-Disposition -F -f $PATCH > $TMPFILE
mv $TMPFILE $PATCH
formail -k -X From: -X Subject: -X From -X To: -X Cc: -X Date: -X Message-ID: -X Content-Disposition: -X Content-Type: -X MIME-Version: < $PATCH > $TMPFILE
mv $TMPFILE $PATCH
done
Jump to Line
Something went wrong with that request. Please try again.