When I use
meld to obtain visual diff, I can merely run this from the command line:
$ meld file1.txt file2.txt
meld starts, loads each file in a separate subwindow, and shows the differences side by side.
I'm trying to do the same with Kompare:
$ kompare file1.txt file2.txt
... but I get error: "
Could not parse diff output.". And the same error holds for:
$ kompare -c file1.txt file2.txt $ kompare -c file:///path/to/file1.txt file:///path/to/file2.txt
I also tried:
$ diff file1.txt file2.txt | kompare -o -
... that doesn't raise an error - but it shows Source/Destination folder as "
unknown" (and otherwise, everything else blank)?!
Is it possible at all to use Kompare as I'd intend to? If so, how should the command line be formatted?
Many thanks in advance for any answers,
Edit: there's a ton of bugs related to this, it turns out:
- Processed: "Could not parse diff output" when exclude file options are used
- Bug 116637 - "Could not parse diff output" when timestamps are missing (timestamps are optional)
- [Bug 252359] New: Kompare could not parse an ordinary patch file
- Bug List: kompare + could+not+parse+diff
... could be any of this, I guess..
Edit2: getting closer, I guess; since this is on OpenSuse 11.2,
> kompare --version Qt: 4.5.3 KDE: 4.3.1 (KDE 4.3.1) "release 6" Kompare: 4.0.0 > diff --version diff (GNU diffutils) 2.8.7-cvs
... I tried to look for some patches in the system:
> find / -xdev -name "*.patch" 2>/dev/null ... /etc/YaST2/policy.patch /etc/YaST2/liveinstall.patch
... and so I tried to view one of these:
kompare -o /etc/YaST2/policy.patch
... and that one at least opens and shows some differences in
kompare, so at least there is a reference diff file to compare with...