Binary patch tool?

2003-04-03 Thread John Williams
Hi folks, Is there a binary equivalent to the diff/patch combination? I've written a little shell script to run "cmp -b" over a bunch of files (I'm trying to generate binary patches), but now I'm struggling with a way to actually apply those changes. I started writing a little tcl script to d

Re: Binary patch tool?

2003-04-03 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, John Williams wrote: > Hi folks, > > Is there a binary equivalent to the diff/patch combination? I've > written a little shell script to run "cmp -b" over a bunch of files (I'm > trying to generate binary patches), but now I'm struggling with a way to > actually apply those ch

Re: Binary patch tool?

2003-04-03 Thread John Williams
Igor Pechtchanski wrote: On Fri, 4 Apr 2003, John Williams wrote: Hi folks, Is there a binary equivalent to the diff/patch combination? I've written a little shell script to run "cmp -b" over a bunch of files (I'm trying to generate binary patches), but now I'm struggling with a way to actually

Re: Binary patch tool?

2003-04-03 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, John Williams wrote: > Igor Pechtchanski wrote: > > On Fri, 4 Apr 2003, John Williams wrote: > > > >>Hi folks, > >> > >>Is there a binary equivalent to the diff/patch combination? I've > >>written a little shell script to run "cmp -b" over a bunch of files (I'm > >>trying to g

Re: Binary patch tool?

2003-04-03 Thread John Williams
Igor Pechtchanski wrote: Is there a way I can pass these on the command line, without needing a seperate little script file like this? Sure. The easiest for you would probably be vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f Ain't vim grand? ;-) Indeed. But not just vim, the whole thing. I

Re: Binary patch tool?

2003-04-04 Thread Ronald Landheer-Cieslak
On Thu, 3 Apr 2003, Igor Pechtchanski wrote: > vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f > > Ain't vim grand? ;-) Wow [takes hat off and bows deeply to Vim] I use Vim on a daily basis for nearly all my source file editing, but I'd never used it as a stream editor before - too cool :) Tha

Re: Binary patch tool?

2003-04-04 Thread Igor Pechtchanski
On Fri, 4 Apr 2003, Ronald Landheer-Cieslak wrote: > On Thu, 3 Apr 2003, Igor Pechtchanski wrote: > > vim -b -c ":%s/xygwin1.dll/cygwin1.dll/g|:wq" $f > > > > Ain't vim grand? ;-) > Wow [takes hat off and bows deeply to Vim] > > I use Vim on a daily basis for nearly all my source file editing, but