[Gllug] diff of two functions

Martin N Stevens budgester at budgester.com
Tue Sep 13 21:41:20 UTC 2005


Hi,

I've got a question on using diff

I've got two functions in a file and I want to compare them, is diff
the best way to do this and how, or is there some funky function in
vim ?

eg.

function1(){
 do this
}

function2(){
 do that
}

What are the differences ? can diff do diff on the same file but
between two groups of line numbers ?

Regards

Martin Stevens
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list