Unix diff command under Window.

Trent Mick trentm at ActiveState.com
Thu Aug 25 14:37:58 EDT 2005


[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.

Trent

-- 
Trent Mick
TrentM at ActiveState.com



More information about the Python-list mailing list