bug-gnu-utils
[Top][All Lists]
Advanced

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

grep


From: Jiri Hladky
Subject: grep
Date: Wed, 08 Sep 2004 18:35:06 +0200 (CEST)

Hi team!

I'm using grep version 2.5.1

grep -V
grep (GNU grep) 2.5.1

and I have some trouble with it. I'm trying to find all strings which starts 
with decimal point and DO NOT END with L. So I do:

egrep --color "[.][0-9]+[^L]" grep_test

It seems that it's not working correctly, giving me for example this line as 
result:

const ldld_real ldld_real::_e = ldld_real(2.71828182845904523542817L,

The numbers ends with L, so this line should grep not report!!!

I'm going to attach two files grep_test and wrong_result to this e-mail:

 egrep --color "[.][0-9]+[^L]" grep_test > wrong_result

Please advice! Is it bug or am I doing something wrong?

Thank you very much!
Jiri

____________________________________________________________
Žiješ naplno? Tak proč nemáš nás? Nokia 6100  nebo Samsung X450 s novým 
Oskarovým tarifem 300 naplno za 1577 Kč.
http://ad.seznam.cz/clickthru?spotId=77006

Attachment: grep.tar.bz2
Description: BZip2 compressed data


reply via email to

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