[ANN] DocDiff 0.3.1

H

Hisashi MORITA

Hello,

Let me introduce you a small utility that I wrote in Ruby.

DocDiff at RAA
http://raa.ruby-lang.org/project/docdiff/
Homepage
http://www.kt.rim.or.jp/~hisashim/docdiff/
Readme
http://www.kt.rim.or.jp/~hisashim/docdiff/readme.html

DocDiff compares two text files and shows the difference. It can compare
files word by word, char by char, or line by line. It has several output
formats such as HTML, tty, Manued, or user-defined markup.

It supports several encodings and end-of-line characters, including
ASCII, UTF-8, EUC-JP, Shift_JIS, CR, LF, and CRLF.

Example

% cat sample/01.en.ascii.lf
Hello, my name is Watanabe.
I am just another Ruby porter.
% cat sample/02.en.ascii.lf
Hello, my name is matz.
It's me who has created Ruby. I am a Ruby hacker.
% docdiff --wdiff sample/01.en.ascii.lf sample/02.en.ascii.lf
Hello, my name is [-Watanabe.-]{+matz.+}
{+It's me who has created Ruby. +}I am [-just another -]{+a +}Ruby [-porter.-]{+hacker.+}
%

DocDiff might be for you if...

* You have to deal with non-ASCII text such as Japanese.
* You are using wdiff but want some more output formats.

DocDiff is written in pure Ruby and runs on Unix and on Windows (tested
on Linux and on Cygwin). Debian package is also available (thanks to
Akira YAMADA).

I hope some of you find it useful.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] DocDiff 0.3.3 0
ANN main-4.4.0 0
[ANN] dike-0.0.4 4
ruby-dev summary 26128-26222 8
[ANN] el4r-1.0.4 - EmacsLisp for Ruby 0
[ANN] traits-0.6.0 2
[ANN] parseargs-0.1.0 0
[ANN] rs 0.1.2 0

Members online

Forum statistics

Threads
474,160
Messages
2,570,889
Members
47,420
Latest member
ZitaVos505

Latest Threads

Top