https://www.diffnow.com/compare-clips or http://incaseofstairs.com/jsdiff/
Does anybody know any better alternatives which work with pasting?
https://www.diffnow.com/compare-clips or http://incaseofstairs.com/jsdiff/
Does anybody know any better alternatives which work with pasting?
You can use it like `cursh difftastic {{1}} {{2}}` and it will prompt you for each {{#}} to hit enter once you have the thing you want in your clipboard and it passes the content to the command as files
In that case, assuming that one file is OK and only the other text needs to be pasted, you can diff against stdin. On macOS there is `pbpaste`, which prints the contents of the pasteboard to stdout. This allows you to do `pbpaste | diff the-file -`, with `-` being the commonly used "filename" for stdin.
I use Araxis Merge at work, and Meld at home, both of which can work this way. (Araxis is much better, but I can't justify the cost personally. Meld is fine, just a bit slow.)