Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
gdiff / gpatch 0.0.1 released
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Brian Schröder  
View profile  
 More options Oct 29 2005, 6:27 am
Newsgroups: comp.lang.ruby
From: Brian Schröder <ruby.br...@gmail.com>
Date: Sat, 29 Oct 2005 19:27:47 +0900
Local: Sat, Oct 29 2005 6:27 am
Subject: [ANN] gdiff / gpatch 0.0.1 released
Hello rubyists,

I released a new cleaned up version of the gdiff / gpatch library and
programs. Now available as a gem and in setup.rb format.

Find it at

  http://ruby.brian-schroeder.de/gdiff/

Installation:

  wget http://ruby.brian-schroeder.de/gdiff/releases/gdiff-0.0.1.tar.bz2
  tar -xvvjf gdiff-0.0.1.tar.bz2
  cd gdiff-0.0.1
  ruby setup.rb

Usage:

  gdiff file_a file_b > patch
  gpatch file_a patch > file_b_from_patch

or as a library:

  require 'gdiff'

  File.open("patch", "wb") do | patch |
    patch << Diff::GDiff.diff(File.read("file_a"), File.read("file_b")).pack
  end

  File.open("file_b_from_patch", "wb") do | file_b_2 |
    file_b_2 <<
Diff::GDiff.unpack(File.read("patch")).apply_to(File.read("file_a"))
  end

regard,

Brian

--
http://ruby.brian-schroeder.de/

Stringed instrument chords: http://chordlist.brian-schroeder.de/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zed A. Shaw  
View profile  
 More options Oct 29 2005, 12:48 pm
Newsgroups: comp.lang.ruby
From: "Zed A. Shaw" <zeds...@zedshaw.com>
Date: Sun, 30 Oct 2005 01:48:31 +0900
Local: Sat, Oct 29 2005 12:48 pm
Subject: Re: [ANN] gdiff / gpatch 0.0.1 released
Hey Brian,

Cool stuff.  I swear someday I have to get back into the fastcst
thing.  I just have so much crap to do it's killing me.

Let me know if you run into any bugs in the suffix array delta library.

Zed

On Sat, 29 Oct 2005 19:27:47 +0900


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Brian Schröder  
View profile  
 More options Oct 29 2005, 2:00 pm
Newsgroups: comp.lang.ruby
From: Brian Schröder <ruby.br...@gmail.com>
Date: Sun, 30 Oct 2005 03:00:18 +0900
Local: Sat, Oct 29 2005 2:00 pm
Subject: Re: [ANN] gdiff / gpatch 0.0.1 released
On 29/10/05, Zed A. Shaw <zeds...@zedshaw.com> wrote:

> Hey Brian,

> Cool stuff.  I swear someday I have to get back into the fastcst
> thing.  I just have so much crap to do it's killing me.

> Let me know if you run into any bugs in the suffix array delta library.

> Zed

Thank you Zed,

I already wrote you directly, but maybe I used the wrong address. So
I'd like to ask you here in public if it is legal under the suffix
array library licence and acceptable to you to publish this work using
the ruby licence?
And I have included your sourcecode including the README, LICENCE and
COPYING file ripped from the fastcst tarball directly in this release.
Is that ok?

cheers,

Brian

--
http://ruby.brian-schroeder.de/

Stringed instrument chords: http://chordlist.brian-schroeder.de/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google