Hello Aleksey and Aleksej,
On Mon, Sep 01, 2008 at 02:20:24AM +0400, Aleksej Saushev wrote:
> Now we know another bug in your software: inconsistency of what is sent by
> mail
> and what is saved in other files.
On the mail I could read that pkgtools/pkgfind fails but on report.txt
and packages_failed.txt I couldn't grep(1) it:
$ grep "pkgtools/pkgfind" report.txt packages_failed.txt
On the mail I could read that:
> pkgtools/pkgfind 2 destdir
> pkgsrc-users%NetBSD.org@localhost
> pkgfind-20050804
Why pkgtools/pkgfind isn't on report.txt and/or packages_failed.txt too?
> I don't care of that list on your server, since information in mail message
> should be enough for me.
IMO a text version of the report is useful and more Unix friendly. And
it's easier to grep(1) a simple text files than mails.
It's also easier to code scripts like this simple Perl one-liner:
$ perl -MTerm::ANSIColor -pe 'print color /pkgsrc-users|leot/i ? "red" :
"yellow"' \
> < packages_failed.txt | less -R
Ciao, Leonardo
--
Leonardo Taccari (leot) | http://leot.netsons.org/
Attachment:
pgpBiq0tirsuc.pgp
Description: PGP signature