Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.unix.shell > #835
| From | Uno <Uno@example.invalid> |
|---|---|
| Newsgroups | comp.unix.shell |
| Subject | Re: variable-length strings |
| Date | 2011-06-03 23:21 -0600 |
| Message-ID | <94ttmeFmsfU1@mid.individual.net> (permalink) |
| References | <94mfhcFngqU1@mid.individual.net> <slrniuf4u1.dhq.hjp-usenet2@hrunkner.hjp.at> <slrniuf6uv.2cqj.willem@toad.stack.nl> |
On 06/02/2011 08:19 AM, Willem wrote: > Peter J. Holzer wrote: > ) ["Followup-To:" header set to comp.unix.shell.] > ) On 2011-06-01 09:36, Uno<Uno@example.invalid> wrote: > )> There's no way I can look at these files with a hex editor and my eyes. > )> Doesn't unix have a built-in way to compare them? > ) > ) There's cmp, but it only shows you where the first difference is. > > cmp -l shows all differences, as does cmp -x > The first output is with cmp -l. By the time it's in the 200,000's, almost every one differs 289458 5 102 289459 333 200 289460 342 133 289461 15 254 289462 153 120 289463 161 151 289464 373 37 289465 304 122 289466 331 103 289467 43 130 289468 1 321 289469 372 264 289470 203 317 289471 374 107 289472 351 255 289473 376 200 ^Ccmp before.avi after2.avi before.avi after2.avi differ: byte 5, line 1 $ So, if byte 5 were simply omitted, the rest of the file wouldn't match except coincidentally. Since corrupted media is so often the outcome I got, I wonder whether the transfer protocol is UDP for this type of download. -- Uno
Back to comp.unix.shell | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
variable-length strings Uno <Uno@example.invalid> - 2011-06-01 03:36 -0600
Re: variable-length strings ccc31807 <cartercc@gmail.com> - 2011-06-01 07:13 -0700
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-02 10:54 -0600
Re: variable-length strings "George Mpouras" <nospam.gravitalsun@hotmail.com.nospam> - 2011-06-01 17:01 +0300
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:33 +0200
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 15:44 +0200
Re: variable-length strings Willem <willem@toad.stack.nl> - 2011-06-02 14:19 +0000
cmp (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-02 18:15 +0200
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 23:21 -0600
Re: variable-length strings "David W. Hodgins" <dwhodgins@nomail.afraid.org> - 2011-06-04 02:43 -0400
Re: variable-length strings bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-06-03 11:08 -0500
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-04 00:03 -0600
Re: variable-length strings pacman@kosh.dhis.org (Alan Curry) - 2011-06-04 20:18 +0000
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-07 23:00 -0600
cmp (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:29 +0200
Re: cmp Uno <Uno@example.invalid> - 2011-06-07 22:38 -0600
Re: cmp pacman@kosh.dhis.org (Alan Curry) - 2011-06-08 05:22 +0000
Re: cmp Uno <Uno@example.invalid> - 2011-06-09 16:10 -0600
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 22:58 -0600
bdiff (was: variable-length strings) "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:52 +0200
Re: bdiff Uno <Uno@example.invalid> - 2011-06-08 21:59 -0600
Re: bdiff Ian Collins <ian-news@hotmail.com> - 2011-06-09 16:08 +1200
Re: bdiff Uno <Uno@example.invalid> - 2011-06-08 22:20 -0600
Re: bdiff Uno <Uno@example.invalid> - 2011-06-09 02:57 -0600
Re: bdiff Janis Papanagnou <janis_papanagnou@hotmail.com> - 2011-06-09 11:10 +0200
Re: bdiff bonomi@host122.r-bonomi.com (Robert Bonomi) - 2011-06-19 06:10 -0500
Re: bdiff Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-06-09 07:13 -0400
Re: bdiff Uno <Uno@example.invalid> - 2011-06-09 13:30 -0600
Re: variable-length strings Uno <Uno@example.invalid> - 2011-06-03 23:11 -0600
Re: variable-length strings "Peter J. Holzer" <hjp-usenet2@hjp.at> - 2011-06-04 10:55 +0200
csiph-web