After looking at all this thread:
http://bugs.gnu.org/15459
it appears that no bug has been reported against the upstream diffutils
so I'm taking the liberty of closing this bug report.
Of the files in the rar archives, old.gro has DOS-style CRLF line
endings and new.gro has UNIX-style LF line endings. After fixing this
with 'recode ibmpc..latin1 old.gro', I get a more useful result out of
diff (but it's still a long patch).
Andreas
On Wed, 25 Sep 2013 10:20:20 -0600
Eric Blake wrote:
> On 09/25/2013 10:05 AM, Eric Blake wrote:
> > On 09/25/2013 09:52 AM, leila karami wrote:
> >> Dear Eric
> >>
> >> I obtained old.gro file from linux, then I changed and saved it in windows
> >> (new.gro). I want to use new.gro file in linux
The difference in the files is that the old file has Windows style
newlines (CR+LF: 0x0a,0x0d) while the new file has unix style end of
lines (just LF 0x0a). The change was probably made by the editor you
used.
See http://en.wikipedia.org/wiki/Newline for mor information about newlines.
Therefore
On 09/25/2013 11:05 AM, [email protected] wrote:
>> $ timeout 10s diff -Z <(printf 'a\r\nb\n') <(printf 'a\nb\r\n'); echo $?
>> 124
>>
>
> diff 3.3 (probably compiled with gcc-4.7.3 p1.0, pie-0.5.5,
> glibc-2.17 on amd64) does not timeout on my system:
>
> $ diff -Z <(printf 'a\nb\n') <
On 09/25/2013 10:05 AM, Eric Blake wrote:
> On 09/25/2013 09:52 AM, leila karami wrote:
>> Dear Eric
>>
>> I obtained old.gro file from linux, then I changed and saved it in windows
>> (new.gro). I want to use new.gro file in linux again.
>>
>> I attached files in free compression format (such as g
On 09/25/2013 09:52 AM, leila karami wrote:
> Dear Eric
>
> I obtained old.gro file from linux, then I changed and saved it in windows
> (new.gro). I want to use new.gro file in linux again.
>
> I attached files in free compression format (such as gzip).
>
> I want to do some works to obtained n
On 09/25/2013 09:49 AM, leila karami wrote:
> Dear Andreas
>
> Are you sure old.gro has DOS-style and new.gro has UNIX-style.
>
> I obtained old.gro file from linux, then I changed and saved it in windows
> (new.gro). I want to use new.gro file in linux again.
>
> I attached files again.
>
> I
Dear Eric
I obtained old.gro file from linux, then I changed and saved it in windows
(new.gro). I want to use new.gro file in linux again.
I attached files in free compression format (such as gzip).
I want to do some works to obtained new.gro file exactly similar to style
and format of the old.g
On 09/25/2013 08:37 AM, Paul Eggert wrote:
> Here's what happens when I compare them.
> (The "$ " is the prompt by my shell; it comes
> before the command I typed; the other lines are
> the output of "diff".)
>
> $ diff old.rar new.rar
> Binary files old.rar and new.rar differ
> $ diff -a old.rar
Here's what happens when I compare them.
(The "$ " is the prompt by my shell; it comes
before the command I typed; the other lines are
the output of "diff".)
$ diff old.rar new.rar
Binary files old.rar and new.rar differ
$ diff -a old.rar new.rar
[ lots of binary gibberish ]
This is the documente
leila karami wrote:
> 2-files is true.
Sorry, that message had just one attachment.
Can you please send one file per attachment,
so that the email has two attachments?
12 matches
Mail list logo