[pcre-dev] [Bug 2513] New: Assumes file ends with a line bre…

Página Inicial
Delete this message
Autor: admin
Data:  
Para: pcre-dev
Assunto: [pcre-dev] [Bug 2513] New: Assumes file ends with a line break
https://bugs.exim.org/show_bug.cgi?id=2513

            Bug ID: 2513
           Summary: Assumes file ends with a line break
           Product: PCRE
           Version: 10.34 (PCRE2)
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
          Assignee: ph10@???
          Reporter: chris@???
                CC: pcre-dev@???


If pcre2grep matches the last line in a file, that match will be printed and
the next will be printed with no line break inbetween. pcre2grep is assuming
every line/file ends with a line break.

While I realise every file ending with a line break is a Unix convention, it
won't hold true in practice. I just confirmed grep doesn't have this issue.

--
You are receiving this mail because:
You are on the CC list for the bug.