<br><br><div class="gmail_quote">On Tue, Sep 20, 2011 at 11:30 AM, NoOp <span dir="ltr"><<a href="mailto:glgxg@sbcglobal.net">glgxg@sbcglobal.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On 09/20/2011 09:59 AM, Loïc Grenié wrote:<br>
> 2011/9/20 NoOp <<a href="mailto:glgxg@sbcglobal.net">glgxg@sbcglobal.net</a>>:<br>
>> On 09/20/2011 01:50 AM, Loïc Grenié wrote:<br>
>>> Hi,<br>
>>><br>
>>> I've two spreadsheets which are very similar. I'd like to know<br>
>>> what the differences<br>
>>> are. Is there a tool similar to "diff" for OpenDocument spreadsheets ?<br>
>> ...<br>
>> They are zip files. You can extract them and then compare the .xml files.<br>
><br>
> Of course. The problem is that it's difficult to understand where the<br>
> changes took place (which sheet(s), which cell(s)). I'd like to have a<br>
> list, similar to what diff gives:<br>
><br>
> --- question.ods<br>
> +++ answer.ods<br>
> @@-alpha.C1 +alpha.C1<br>
> -=SOLVE(Universal.problem->life&&universe&&everything)<br>
> +42<br>
><br>
> (maybe not exactly that, but something similar). In that case the<br>
> diff tells me that the two spreadsheets differ in sheet alpha, cell C1,<br>
> that the first has a formula<br>
> =SOLVE(Universal.problem->life&&universe&&everything) and the<br>
> second a number 42.<br>
<br>
I'm not familiar enough with 'diff' to help there. However one way to<br>
check the differences is to use meld and then compare the content.xml of<br>
each. For example; I did a simple .ods with only the number 1 in the<br>
first cell, saved it, changed the number to 2 and saved that as a<br>
different spreadsheet. I then extraced both and used meld to compare<br>
them side-by-side. Meld highlights the differences and I can see that in<br>
the first:<br>
<br>
<table:table-cell office:value-type="float" office:value="1<br>
<br>
and in the second:<br>
<br>
<table:table-cell office:value-type="float" office:value="2"<br>
<br>
Not as eloquent as diff, but might be worth a try.<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
ubuntu-users mailing list<br>
<a href="mailto:ubuntu-users@lists.ubuntu.com">ubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/ubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/ubuntu-users</a><br>
</font></blockquote></div><br>Given both the formula and the output it is my carefully considered opinion that you need to consult with the mice.<br>Don't forget to bring your towel.<br clear="all"><br>-- <br>Accidental deaths by firearms account for less than 1% of the 30,000.
There are three times as many medical mistake deaths in the US than
there are accidental gun deaths. Perhaps we need safety locks on
doctors and nurses?<br>