URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14630>

                 Summary: feature request: grep -p[separator]
                 Project: grep
            Submitted by: None
            Submitted on: Sat 09/24/05 at 12:03
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open

    _______________________________________________________

Details:

I was shocked to find that GNU grep doesn't support the -p option available
on AIX, Solaris, HP-UX, and possibly other platforms.  With this option grep
displays the paragraph containing each matching line.  Paragraphs are
delimited by a separator, which follows the same formatting as a search
pattern.  The default separator is a blank line.

While using grep on other platforms, I've found this option to be quite
handy.  On my GNU/Linux laptop, I immediately reached for it like this:

# ifconfig | grep -p eth0

But it wasn't there.  Could this be added?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=14630>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to