Package: grep
Version: 2.5.1.ds2-6
Severity: important

This is in the context of grepping maildir email message text files.

Use of -i on multiple files appears to break things:

u...@host:/my/dir/kyrian$ grep -i -A1 -m1 ^X-orenet-MailScanner-SpamCheck:  
344251. 344254. 344258.
344251.:X-orenet-MailScanner-SpamCheck: not spam (whitelisted),
Segmentation fault

Without -i the same thing works as expected:

u...@host:/my/dir/kyrian$ grep -A1 -m1 ^X-orenet-MailScanner-SpamCheck:  
344251. 344254. 344258.
344251.:X-orenet-MailScanner-SpamCheck: not spam (whitelisted),
344251.-        SpamAssassin (not cached, score=-1.002, required 3,
--
344254.:X-orenet-MailScanner-SpamCheck: not spam (whitelisted),
344254.-        SpamAssassin (not cached, score=-4.001, required 3,
--
344258.:X-orenet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached,
344258.-        score=-4.001, required 3, RCVD_IN_DNSWL_MED -4.00, SPF_PASS 
-0.00)
u...@host:/my/dir/kyrian$ 

I've looked at an strace & ltrace of what is going on, but can't see anything
obvious there.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages grep depends on:
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries

grep recommends no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to