#!/usr/local/bin/zsh setopt shwordsplit if [ ! "patch-*(^R)" = 'patch-*(^R)' ] ; then echo "Warning, unreadable patches:" >&2 ls -ld patch-*(^R) >&2 fi /usr/local/bin/mutt -v>mutt_-v muttver=`perl -nal -e 'print $F[1];exit;' Mutt 'code bloat' patch page 42.org, resources, mutt-patches
Here is the place where I keep all these little patches for mutt which are so dangerous and big that they haven't gotten into mainstream mutt yet (and probably never will). But they make my day brighter and happier so i decided to keep & update them here. I'm currently running Mutt $muttver so these patches here should cleanly apply to at least this version.
EOM
#ls -l 0*|sed '/swp$/d;s/ \([0-9]*\..*\)/ \1<\/a>/'
ls -ld patch*(R) contrib/|awk '{print substr($0,1,match($0," [pc]"))""$9""}'
echo "

Due to popular demand short descripions of each patch follow:
" for a in patch*(R); do # echo $a|grep '.swp$' && continue [ ! -r $a ] && continue echo "

$a:
" # perl -pe '/^diff|^---/&& exit'<$a # c=${a#patch-?.??.} c=${a%.?} c=${c##*.} if [ -f txt.${c} ] ;then cat txt.${c}|sed '/^From/s/<\(.*\)>/\<\1\>
/;s/^$/
/' else echo "Warning $c has no description" >&2 fi b="$b $a" done cat < For more information about mutt, visit mutt's homepage Other people also keep patches around, which might be of interest, visit the PatchList fir more info. If you are so inclined you could also view the script I use to generate this page or my personal .muttrc. Your are also welcome to send your comments to sec@42.org.


EOM2 cat <<'EOM3' Stefan `Sec` Zehl 10-May-1997, 3.Oct.2006
EOM3