bug-grep
[Top][All Lists]
Advanced

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

[bug #21401] Newline inserted by grep at EOF causes false positives


From: Paolo Bonzini
Subject: [bug #21401] Newline inserted by grep at EOF causes false positives
Date: Sat, 06 Feb 2010 13:08:45 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.6) Gecko/20100107 Fedora/3.5.6-1.fc12 Firefox/3.5.6

Update of bug #21401 (project grep):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

grep operates by reading one line from the input stream, removing any
trailing newline, and matching the pattern against it.  The fact that grepping
x0a works is actually a bug in grep -P (in fact it doesn't work with grep/grep
-E/grep -F).

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?21401>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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