Estimated read time: 1 minutes
Estimated read time: 1 minutes
i've just set up bogofilter with mutt, it was sooo easy! :)
first you should collect some spam and ham (non-spam) to separate (Maildir) folders
then bogofilter -s -B ~/Maildir/spam/, bogofilter -n -B ~/Maildir/ham. the basic learning is done
to your procmailrc:
:0fw
| /usr/bin/bogofilter -uep
:0:
* ^X-Bogosity: Spam
.Spam/
finally i've added a macro to my muttrc to be able to simply tell bogofilter it missed something (haven't noticed a spam):
macro index S "
(you can add a similar macro for "bogofilter -Sn" - "hey, this is not a spam" - if you want)
that's all :)
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
probably this is known, but i've just figured out how to get rid of grep when i use
foo |grep ... |sed ...the magic command is
foo |sed -n '/^match/s/foo/bar/p'
if we're at it, you can even get rid of sed if you use bash and just want to do simple replaces like 1.0 -> 1_0:
$ pkgver=1.0 $ echo ${pkgver//./_} 1_0_0
two intereting tricks remained. the first is about deleting from a pattern to an another one (including both line)
$ echo -e 'a\nb\nc\nd\ne' a b c d e $ echo -e 'a\nb\nc\nd\ne' |sed /b/,/d/d a e
the last one is about deleting to the end of the file from a pattern:
$ echo -e 'a\nb\nc\nd\ne' |sed '/c/,$d' a b
ok, that's all for today :)
(other nice tricks here)
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
Estimated read time: 1 minutes
sudo makepkg -R
:)
Estimated read time: 1 minutes
desco's shot: http://www.bluelion.hu/stuff/ooo-x86_64.png
download: http://ftp.frugalware.org/pub/other/people/vmiklos/frugalware-x86_64/
source: http://ftp.frugalware.org/pub/other/people/vmiklos/source/openoffice.org-devel/
also there is a little problem with make install in the FB, more details here
note: yes, you have to install the langpacks with pacman -d, this will be fixed later