Re: Debian 2.0: Checklist automated
On Thu, 15 Jan 1998 bhmit1@mail.wm.edu wrote:
> Hello everyone!
>
> If you missed the previous messages on the subject, the checklist are just
> to give the testers and idea of what to look out for and what to do after
> installing your package to make sure it works. Scripts are also welcome
> if a list describing what is does is included. I've automated it, so
> things should move quicker on my end now.
>
> For checklist examples, see http://bhmit1.home.ml.org/deb . I place the
> ones with a list at the top.
>
> Ok, for now I'll just keep the request for a checklist to people with
> required packages, but all list are welcome. (Non-maintainer or even
> non-developer submissions are also welcome.)
>
> Roll call:
>
<snip>
>
> P.S. Any sed expert who can think of how to change the e-mail addresses
> into mailto links with a sed command (or any command) could do me a huge
> favor by sharing your wisdom. See http://bhmit1.home.ml.org/deb and view
> one of the html sources.
Umm, if you put e-mail addresses like
Guy Maor <maor@debian.org>
literally in the html source, the part between the <> will be ignored by
Netscape because it will think it is a tag it doesn't know about.
If all address are of the form
Real Name <e-mail.address@hostname.somewhere>
then you could use this script:
#!/bin/sh
TEMPFILE=$(tempfile)
cat - > $TEMPFILE
A_NAME=$(sed -e 's/ <.*$//' < $TEMPFILE)
A_ADDRESS=$(sed -e 's/^.*<//' -e 's/>.*$//' < $TEMPFILE)
rm $TEMPFILE
echo "<A HREF=mailto:$A_ADDRESS>$A_NAME</A>"
This takes the name and e-mail address in the format above and echoes the
proper html tags to stdout, like this:
$ echo 'Guy Maor <maor@debian.org>' | ./whatever-the-script-is-called
<A HREF=mailto:maor@debian.org>Guy Maor</A>
$
Assumptions I made about the format: The name comes first, optionally
quoted. Then comes a space, a `<', the e-mail address and a `>'. Anything
after the `>' will be ignored.
Remco
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: