-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick wrote:
> I am after a directory diff script in Ruby, so I can compare all the 
> files in multiple directories. Does anybody know of such a script?

Yes, it's called diff. If you want a GUI try meld or kompare.

http://www.linuxjournal.com/article/1237


$ head a/* b/*
==> a/bar <==
bar

==> a/foo <==
foo

==> b/bar <==
foo

==> b/foo <==
bar

$ diff -u a b
diff -u a/bar b/bar
- --- a/bar	2006-05-29 05:08:11.000000000 -0700
+++ b/bar	2006-05-29 05:08:16.000000000 -0700
@@ -1 +1 @@
- -bar
+foo
diff -u a/foo b/foo
- --- a/foo	2006-05-29 05:07:49.000000000 -0700
+++ b/foo	2006-05-29 05:08:05.000000000 -0700
@@ -1 +1 @@
- -foo
+bar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEeuUYmV9O7RYnKMcRAvw6AKCygIWiiPpworeAI5HRaf8euu1f6QCePKRQ
pwYlDR5ANIy4Uk6f1797LLo=
=Mlsd
-----END PGP SIGNATURE-----