View Single Post
Staro 29.08.2008., 11:17   #3
Bubba
E Pluribus UNIX
Moj komp
 
Bubba's Avatar
 
Datum registracije: Oct 2002
Lokacija: M82
Postovi: 6,750
Citiraj:
Autor Z-man Pregled postova
naslov sve govori ?
Code:
Z:\>comp /?
Compares the contents of two files or sets of files.

COMP [data1] [data2] [/D] [/A] [/L] [/N=number] [/C] [/OFF[LINE]]

  data1      Specifies location and name(s) of first file(s) to compare.
  data2      Specifies location and name(s) of second files to compare.
  /D         Displays differences in decimal format.
  /A         Displays differences in ASCII characters.
  /L         Displays line numbers for differences.
  /N=number  Compares only the first specified number of lines in each file.
  /C         Disregards case of ASCII letters when comparing files.
  /OFF[LINE] Do not skip files with offline attribute set.

To compare sets of files, use wildcards in data1 and data2 parameters.

Z:\>more tmp1.txt
aaa
bbb
ccc
d d
eee

Z:\>more tmp2.txt
aaa
bbb
ccc
dDd
eee

Z:\>comp tmp1.txt tmp2.txt /A /L
Comparing tmp1.txt and tmp2.txt...
Compare error at LINE 4
file1 =
file2 = D
Compare more files (Y/N) ? n
__________________
https://2.71828182845904523536028747...966967627.com/

Programer
Rok od dva mjeseca u stvari znači četiri, ali nikako ispod šest.
Bubba je offline   Reply With Quote