Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

Ovid
  (email not shown publicly)
http://publius-ovidius.livejournal.com/
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Friday July 20, 2007
03:39 AM

Easier Bulk Diff?

[ #33850 ]

In trying to track down a bug between two subtly different branches of code, I needed to know which files are different in the two branches (information which cvs doesn't always give), so I wrote this:

for file in `find lib -name '*.pm' -print`; \
> do diff --brief $file /home/ovid/work/master/$file; done 2>&1 \
> |grep -v 'No such file'|cut -d ' ' -f 2

Surely there's a better way to get a list of which files are different in two virtually identical directory structures?

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.