bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #26493] Specifying -i and -o together does not work as expected


From: Victor Shih
Subject: [bug #26493] Specifying -i and -o together does not work as expected
Date: Fri, 08 May 2009 02:49:15 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10

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/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]