                          patch-diff-w32

               GNU patch 2.5.4, GNU diff 2.7 for Win32

diff --help
patch --help

ŏڍׂȃwvbZ[W\B

(1) diff.exe
    o̓t@C ftHg UNIX ` (sR[h 0x0a ̂)B
    IvV --dos t DOS ` (s 0x0d0x0a)B
    --binary IvVƁA--dos IvV͌ʂB

(2) patch.exe
    o̓t@C UNIX ` (sR[h 0x0a ̂)B
    IvV --dos t DOS ` (s 0x0d0x0a)B

    diff t@C source t@C UNIX `̂Ƃ
    patch --binary ...
    ƂȂ΂ȂȂBdiff t@C UNIX `ŁA\[X
    DOS `̏ꍇ͋ȂB--binary IvVƁA
    --dos IvV͌ʂB

    diff t@C DOS `̂Ƃ --binary IvV
    tĂ͂ȂȂB̂ƂA\[Xt@C DOS `ł
    UNIX `ł悢B

    diff file        source file
    UNIX             UNIX               --->  patch  --binary  ...
    UNIX             DOS                --->  s
    DOS              DOS                --->  patch  ...
    DOS              UNIX               --->  patch  ...

    sR[hϊKv΁ATeX ƋɔzzĂ txtutil.tar.gz
    ̒ todos.exe, tounix.exe gp΂悢B
    todos.exe ̓eLXgt@C DOS `ɕϊAtounix.exe  UNIX
    `ɕϊB
    todos foo.txt
    todos foo1.txt foo2.txt
    todos foo.???
    todos *.*
    todos *.c *.h
    Ȃǂ̎głBtounix.exe lłBIWĩt@C
    ͕ۑȂB

    ̕\ɂƁApb`t@C (diff t@C)  DOS `ɂĂ
    ̂łKƎvBdiff.exe ̏o͂̓ftHgł UNIX `
    Ȃ悤ɂĂ̂ŁA
    diff --dos -Nur olddir newdir >patch.diff
    ̂悤ɁAIvV --dos t patch.diff  DOS `ɂ
    ̂悢ł낤B
-- 
A. Kakuto <kakuto@fuk.kindai.ac.jp>
