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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
-- 
## List details at https://lists.exim.org/mailman/listinfo/pcre-dev 

Reply via email to