Bertram Scharpf <[EMAIL PROTECTED]> wrote:
> :0 H
> * ^X-Known-Address: .*\<troll\>
> /dev/null

> erwischt er's nicht, aber er kriegt's mit

> :0 H
> * ^X-Known-Address:.*\<troll\>
> /dev/null

[...]
> Mit `egrep' geht das:

>    $ egrep '^X-Known-Address: .*\<troll\>' ~/Mail/linux/debian
[...]

Fuer egrep bedeutet \< etwas anderes als fuer procmail:

-------------------------------------------
prcml> Match the character before or after a word.
prcml> They are merely a shorthand for `[^a-zA-Z0-9_]', but can
prcml> also match newlines. Since they match actual characters,
prcml> they are only suitable to delimit words, not to delimit
prcml> inter-word space.
-------------------------------------------
egrep> The symbols `\<' and `\>' respectively match the empty string at the
egrep> beginning and end of a word.
-------------------------------------------
Das eine matcht auf "empty string" das andere auf "the character..."
                   cu andreas


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an