Re: Using reportbug with kmail
El Lunes, 7 de Noviembre de 2005 20:23, Hendrik Sattler escribió:
> Hi,
>
> I just cannot figure out how to use the --mua option from reportbug with my
> main mail program KMail. :-(
>
> Maybe someone can help me out here? Is there a web front-end for submitting
> bugs to the debian BTS?
This snippet was written by Isaac Clerencia, IIRC.
#!/bin/sh
suf=$RANDOM
reportbug -p "$@" > /tmp/reportbug.$suf
if [ -s /tmp/reportbug.$suf ]
then
subject=$(grep ^Subject\: /tmp/reportbug.$suf | cut -d\: -f 2-)
sed -n '8~1p' /tmp/reportbug.$suf > /tmp/reportkmail.$suf
kmail -s "$subject" --msg /tmp/reportkmail.$suf submit@bugs.debian.org
fi
rm -f /tmp/reportkmail.$suf
--
Alex (a.k.a. suy) - GPG ID 0x0B8B0BC2
http://darkshines.net/ - Jabber ID: suy@bulmalug.net
Reply to: