[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #27669] issue using ^ with -z
From: |
Peter Jakobi |
Subject: |
[bug #27669] issue using ^ with -z |
Date: |
Sun, 11 Oct 2009 15:12:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.14) Gecko/2009090217 Ubuntu/9.04 (jaunty) Firefox/3.0.14 |
URL:
<http://savannah.gnu.org/bugs/?27669>
Summary: issue using ^ with -z
Project: grep
Submitted by: jakobi
Submitted on: So 11 Okt 2009 15:12:00 GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Please verify these cases to work both with the _unmodified_ most recent
source:
perl -e '@a=qw/abc def ghi/; foreach(@a){print "$_\n"}' | grep ^def
prints def\n - OK
perl -e '@a=qw/abc def ghi/; foreach(@a){print "$_\0"}' | grep -z ^def
prints NOTHING. FAIL. grep -z -x 'def.*' however works.
This failure is IMHO a critical error, as the -z option is probably
frequently used for backups and system admin scripts.
grep 2.5.3, Ubuntu jaunty amd64 (2.5.3~dfsg-6ubuntu1; the error might be
recently introduced (downstream issue?) as I haven't observed it before)
LANG=en_US.UTF-8, no LC* being set yet.
Thanx,
Peter.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?27669>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #27669] issue using ^ with -z,
Peter Jakobi <=