On Tuesday 06 March 2007 01:09, guy keren wrote: > look at the patch file - it has a very simple general format. i think > you can grep for the file names in it, and with little parsing get the > list of affected files.
Well, i was curious as to why there is no (famous) script to do such a simple thing conveniently, therefore, i have written a script to do this. The script(python), displays (gtk) the list of files to change from the patch file with an adjacent action (new file/delete file/lanuch a diff program - currently meld) and you can double click to perform the action. No need to copy anything, this is done in /tmp and in memory automagically. Here is an example of a call to the script: cat ../new/patch| python ../easierpatch.py - ./ -p1 Here is the link to the script (GPL) on my homepage: http://tzahi.webhop.info/easierpatch.py Enjoy. -- Regards, Tzahi. -- Tzahi Fadida Blog: http://tzahi.blogsite.org | Home Site: http://tzahi.webhop.info WARNING TO SPAMMERS: see at http://members.lycos.co.uk/my2nis/spamwarning.html ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]