bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-grep] fgrep in version 2.5* fails.


From: moenia
Subject: [bug-grep] fgrep in version 2.5* fails.
Date: Fri, 04 Mar 2005 22:03:18 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Hi!

if found a possible bug within fgrep (or grep -F), version 2.5 and 2.5.1a. as attachment a gzipped text-file. if I do an "fgrep -w -e dd" on it, then it produces no output.
a fgrep 2.4 gives the same lines as a simple grep with the same args.

following tests are done. a failure means, that a simple grep or an old fgrep gives output, the 2.5* don't.

fail:
cat grep-error-file | ./grep -F  -w -e dd
tail -n +12 grep-error-file | ./grep -F  -w -e dd
{ head -n 17 grep-error-file; tail -n +18 grep-error-file; } | ./grep -F -w -e dd

succeed:
tail -n +13 grep-error-file | ./grep -F  -w -e dd
{ head -n 17 grep-error-file; tail -n +19 grep-error-file; } | ./grep -F -w -e dd

unfortunately I've actually not enough time to analyse the grep-code, so please excuse the report-only of this problem.

greetings

j├╝rgen baumann

Attachment: grep-error-file.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]