URL:
<http://savannah.gnu.org/bugs/?26493>
Summary: Specifying -i and -o together does not work as
expected
Project: grep
Submitted by: vshih
Submitted on: Fri 08 May 2009 02:49:12 AM GMT
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Given the file in.txt:
test
TEST
$ grep -o te in.txt
te
$ grep -i te in.txt
test
TEST
$ grep -oi te in.txt
te
Whereas I was expecting
te
TE
Am I expecting too much?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?26493>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/