Rockwell-automation 1771-DMC_DMC1_DMC4_DXPS Control Coprocessor User M Manual de usuario Pagina 299

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 312
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 298
%!&$"&($
Appendix D
D-21
Compare Binary Files
Syntax
os9cmp [<opts>] <path1> <path2>
Function
os9cmp opens two files and performs a comparison of the binary values of
the corresponding data bytes of the files. If any differences are
encountered, the file offset (address), the hexadecimal value, and the
ASCII character for each byte are displayed.
The comparison ends when an end-of-file is encountered on either file. A
summary of the number of bytes compared and the number of differences
found is displayed.
Options
Option Description
,
%#* & "#&"!% '!&"! ! " ! %*!&) " "% #
,!'  %%! !'  "  "$* "$ "% # '% "% # '%%   "$* %+
* '&
,% !& " %&"# & " #$%"! (! & $%& % & "'$% ! #$!& !
$$"$ %%
Examples
The following command uses an 8K buffer to compare FILE1 with FILE2.
C>os9cmp file1 file2 -b=8k
Differences
(hex) (ascii)
byte #1 #2 #1 #2
======== == == == ==
00000019 72 6e r n
0000001a 73 61 s a
0000001b 74 6c t l
Bytes compared: 0000002f
Bytes different: 00000003
file1 is longer
The following command line compares FILE1 with itself.
C>os9cmp file1 file1
Bytes compared: 0000002f
Bytes different: 00000000
os9cmp
Vista de pagina 298
1 2 ... 294 295 296 297 298 299 300 301 302 303 304 ... 311 312

Comentarios a estos manuales

Sin comentarios