Trent Mick <[EMAIL PROTECTED]> writes: > [Neil Hodgson wrote] >> Thomas Heller: >> >> > Yes. There's a script in your Python distribution: >> > Tools/scripts/diff.py >> > >> > See also the docs for the 'difflib' standard library module. >> >> Is the opposite code, a Python equivalent to 'patch' available? I >> have endless trouble receiving patch files that assume one of Windows or >> Unix (in terms of path names and line end characters) which then fail to >> apply on the other platform. I would like to have a version I could hack on. > > So would I! I also have problems with the available patch.exe binaries > hanging or crashing occassionally on Windows.
The only slightly related thing that I know of is the 'Perl Power Tools' Unix reconstruction project. Seems they have a 'patch' command implemented in perl: http://ppt.perl.org/commands/patch/ Thomas -- http://mail.python.org/mailman/listinfo/python-list