grep - Bugs: bug #14630, feature request: grep -p[separator]
You are not allowed to post comments on this tracker with your current authentication level.
bug #14630: feature request: grep -p[separator]
Submitter: | None | ||
Submitted: | Sat 24 Sep 2005 12:03:47 PM UTC | ||
Votes: | 21 | ||
Category: | None | Severity: | 1 - Wish |
Item Group: | None | Status: | None |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Open |
Jump to the original submission
Wed 16 Feb 2011 03:33:02 PM UTC, comment #7: |
Ubul Vendro <sh4d0w> |
Tue 09 May 2006 06:37:46 AM UTC, comment #6: I have an incomplete implementation of a more general feature that defines "universes" or records, and search within them. This feature is borrowed from University of Waterloo's context grep (cgrep).
|
Tony Abou-Assaleh <taa> |
Mon 08 May 2006 08:04:28 PM UTC, comment #5: I think this is a pretty signifigant feature and would be a GoodThing(tm) to add.
|
Josh Davis <xaminmo> |
Mon 17 Oct 2005 12:38:54 AM UTC, comment #4: grep -p also features in TRU64 |
Anonymous |
Sun 25 Sep 2005 02:28:49 PM UTC, comment #3:
|
Bob Proulx <rwp> |
Sat 24 Sep 2005 08:29:43 PM UTC, comment #2: After verification, while AIX does support this option, neither do Solaris 10 nor HP-UX 11i (at least according to their online documentation). Also,
|
Charles Levert <charles_levert> |
Sat 24 Sep 2005 04:33:39 PM UTC, comment #1: "Shocked" sounds somewhat quite strong a word. It's not so surprising that a non-standard extension which can readily be replicated with common existing tools is not implemented in GNU grep.
|
Charles Levert <charles_levert> |
Sat 24 Sep 2005 12:03:47 PM UTC, original submission:
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.
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There are 21 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Follow 5 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-07-14 | annihilannic | Carbon-Copy | - | Added annihilannic | |
2011-02-16 | sh4d0w | Carbon-Copy | - | Added sh4d0w | |
2006-05-08 | xaminmo | Carbon-Copy | - | Added -email is unavailable- | |
Carbon-Copy | - | Added xaminmo | |||
2005-09-24 | charles_levert | Severity | 3 - Normal | 1 - Wish |
Powered by Savane 3.13-02a9.
Corresponding source code
It is very helpful to use grep -p on AIX while processing big logfiles. As a lot of Linux systems used as server, it could be very helpful to implement this feature into GNU grep.