summaryrefslogtreecommitdiff
path: root/diff-lcs/tags/release-1.0/diff.bat
blob: 361e0456787d0312dc19e09ff3d0f42a40cf9413 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@echo off
REM --
REM  Copyright 2004 Austin Ziegler <diff-lcs@halostatue.ca>
REM    adapted from:
REM      Algorithm::Diff (Perl) by Ned Konz <perl@bike-nomad.com>
REM      Smalltalk by Mario I. Wolczko <mario@wolczko.com>
REM    implements McIlroy-Hunt diff algorithm
REM 
REM  This program is free software. It may be redistributed and/or modified under
REM  the terms of the GPL version 2 (or later), the Perl Artistic licence, or the
REM  Ruby licence.
REM  
REM  $Id$
REM ++
if "%OS%"=="Windows_NT" goto WinNT
ruby -x "diff" %1 %2 %3 %4 %5 %6 %7 %8 %9
goto done
:WinNT
ruby -x "diff" %*
goto done
:done