add support for --external-grep

Bug #529887 reported by Parth Malwankar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzr-grep
Confirmed
Wishlist
Parth Malwankar

Bug Description

 Martin Pool wrote on 2010-02-26

On 26 February 2010 16:54, Parth Malwankar <email address hidden> wrote:
>
>
>> It would be nice to also have the option to pipe files through an
>> external grep so people can get extra features from grep.
>> --
>> Martin <http://launchpad.net/~mbp/>
>
> Sounds like a good idea. '--cat-only'.

Well, actually I meant --external-grep=PROG, and then that can be run
for each file, using eg gnu grep's --label argument to indicate which
version of which file it is.

--
Martin <http://launchpad.net/~mbp/>

Parth Malwankar (parthm)
Changed in bzr-grep:
status: New → Confirmed
importance: Undecided → Wishlist
Parth Malwankar (parthm)
Changed in bzr-grep:
status: Confirmed → In Progress
assignee: nobody → Parth Malwankar (parthm)
Revision history for this message
Parth Malwankar (parthm) wrote :

There is an initial implementation in the attached branch. I initially stared doing this so that --color could be made available with an external grep but found this option to be slow as grep needs to be launched multiple files with a separate --label for each file. So I am just going to put this as confirmed now that --color is directly supported in bzr-grep.

Changed in bzr-grep:
status: In Progress → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.