OK, a REAL Linux question... ;-) I need a "one-liner" (because I am lazy)

kitepilot at kitepilot.com kitepilot at kitepilot.com
Thu Feb 26 14:24:44 MST 2009


I have a bunch of text files.
Makefile(s), that is. 

I know that one of them (THERE ARE TONS!) was slightly modified.
Names are meaningless, so it won't work.
There are more changes that mere whitespaces, so diff -w ... won't work 
either. 

Question is:
How do I find 2 files that are "almost" the same file? 

I have thought of different approaches, but none of then are one-liners.
Is there a one-liner for this?
Thanks!
Enrique 

PS: I live in North West GA, play the worker in South Florida, drive like a 
mailman and consider "the neighborhood" anything within 200 miles.
Do I qualify as member of this list?   ;-)


More information about the PLUG-discuss mailing list