问题
I use meld on Linux and I am able to compare two pieces of text without having to save them in files. Is there something similar for Mac and Windows?
回答1:
NotePad++ with the Compare plugin on Windows:
http://sourceforge.net/projects/npp-compare/

回答2:
TextWrangler for OS X does a nice diff of either files on disk or documents being edited.
That would allow you to make two empty docs, paste your text into each of them and run the diff.
回答3:
The meld tool has been ported to Mac OS X and is available via "fink".
Another link is this one.
You will need to install fink first however, and I believe you can get started here.
来源:https://stackoverflow.com/questions/15817242/diff-tool-for-mac-without-saving-text-to-files