Re: Difference / Patching Tools

new topic     » goto parent     » topic index » view thread      » older message » newer message

I'm developing a diff program (not patch, but it can be extended). I'll mail
it to the list in one or two days.
However, I have some doubts about it. If I use a simple algorithm, sometimes
it reports many more differences than necessary. If I use a backtracking
algorithm, it should attain a maximum of matching lines, but with somewhat
big files it lasts forever. I wonder if it exits a fast and optimum
algorithm.

----- Original Message -----
From: "Martin Stachon" <martin.stachon at worldonline.cz>
To: "EUforum" <EUforum at topica.com>
Subject: Difference / Patching Tools


>
> Hi Euphoria Users,
> as I stated some time ago, I'd be like if there was a diff/patch
> system set up among Eu programmers like in GNU, so if someone finds
> a bug or make a change to a code, (s)he could just send a little
> patch instead of complicated describing where (s)he made change,
> and everyone can apply the patch.
>
> After searching (not wide), I found these interesting utils:
>
> a) ExamDiff (201 kB) http://www.prestosoft.com/examdiff/examdiff.htm
>    Has nice GUI, you can compare two files, and see differences on
>    screen. On left side the old file, on right the new. Changed lines
>    are coloured distingushed. Can write unix diff file, but only in
>    standart format and for single file. Cannot patch.
>
> b) GNU utilities for Win32 (2843 kB)
> http://www.weihenstephan.de/~syring/win32/UnxUtils.html
>    Unix GNU utilities compiled for Win32 - including "patch" and "diff"
>    command line, but powerful. GUI Frontend would come in handy.
>    (also other utils are interesting for Euphoria coding - make,grep etc.)
>
> As a demonstration, I attach output of "diff -r -u OLD_IDE_DIR NEW_IDE_DIR
> diff.txt"
> (recursive, unified format) which can patch IDE 0.12 BE from #9 to #10.
> Size of patch is only 9 kB and you don't have to redownload the 300 kB
package again.
> To apply the patch, just write "patch -d OLD_IDE_DIR -i diff.txt"
>
> Anyone wants to follow me ?
>
> Regards,
>       Martin Stachon
>
> martin.stachon at worldonline.cz
> http://www.webpark.cz/stachon
>
>
>
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu