[BusyBox 0000921]: bug with grep when the "string" has no a newline at the end
bugs at busybox.net
bugs at busybox.net
Wed Jun 21 18:53:58 UTC 2006
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=921
======================================================================
Reported By: schroeterm
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 921
Category: Other
Reproducibility: always
Severity: minor
Priority: normal
Status: assigned
======================================================================
Date Submitted: 06-21-2006 11:53 PDT
Last Modified: 06-21-2006 11:53 PDT
======================================================================
Summary: bug with grep when the "string" has no a newline at
the end
Description:
Hi,
there is a bug with grep when a "string" is found in the last line of a
text (for example : my_text).
and only ONE line (no new line at the end) in this file :
hello world
if you makes for example :
grep "he" my_text
the output is :
hello worl
without the last char "d".
this problem appears with busybox-1.1.3
but with a newline at the end there is no problem.
Regards,
Mathieu SCHROETER
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
06-21-06 11:53 schroeterm New Issue
06-21-06 11:53 schroeterm Status new => assigned
06-21-06 11:53 schroeterm Assigned To => BusyBox
======================================================================
More information about the busybox-cvs
mailing list