bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cmp: output of differing byte values in octal is undocumented and ma


From: Alain Kalker
Subject: Re: cmp: output of differing byte values in octal is undocumented and may not be apparent
Date: Sun, 03 Feb 2008 22:08:32 +0100

On Sun, 2008-02-03 at 22:00 +0100, Alain Kalker wrote:
> When comparing files using "cmp -l", the fact that cmp outputs the
> differing bytes in octal seems not to be documented anywhere. This can
> lead to some nasty surprises for someone not "in the know".
> Also, the output itself in no way suggests that the byte values are in
> octal (e.g. by using an initial digit '0'), so unless there are
> differing bytes with values > (decimal) 175, there is nothing to suggest
> that they are.

That should be >= (decimal) 174, obviously.

Regards,

Alain Kalker




reply via email to

[Prev in Thread] Current Thread [Next in Thread]