WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
6344
Some might find patch-grep useful
https://bugs.webkit.org/show_bug.cgi?id=6344
Summary
Some might find patch-grep useful
Eric Seidel (no email)
Reported
2006-01-03 00:23:53 PST
Some might find patch-grep useful I wrote the attached script tonight for being able to do hunk-based greps of my patch collection. Some might find this useful. Perhaps we should even include it in CVS. We'll see.
Attachments
patch-grep in all its glory
(3.89 KB, application/octet-stream)
2006-01-03 00:24 PST
,
Eric Seidel (no email)
no flags
Details
patch-grep in all its glory (now with more spellcheck!)
(3.90 KB, application/octet-stream)
2006-01-03 00:30 PST
,
Eric Seidel (no email)
no flags
Details
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2006-01-03 00:24:53 PST
Created
attachment 5436
[details]
patch-grep in all its glory
Eric Seidel (no email)
Comment 2
2006-01-03 00:26:44 PST
You can use this like so: cat mypatch.patch | patch-grep -h -e XSL and it will print all hunks from mypatch.patch which match XSL, it will print them with the proper headers, so that the resulting output could be applied elsewhere. This is useful for pruning down large cleanup patches into manageable chunks.
Eric Seidel (no email)
Comment 3
2006-01-03 00:30:15 PST
Created
attachment 5437
[details]
patch-grep in all its glory (now with more spellcheck!)
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug