Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Concatenate the diff of files and show in single glance

by robby_dobby (Pilgrim)
on Feb 11, 2014 at 12:34 UTC ( #1074407=note: print w/replies, xml ) Need Help??

in reply to Concatenate the diff of files and show in single glance

Greetings scperl,

So you want a diff of the output files without anything from the intermediate steps? Well, that depends on your process - if it clobbers previously seen differences, you're better off setting your process right than fudging with intermediate diff files. Now, that said, let's move on to the actual task:

Your question sounds a lot like a task for a diff tool. Did you check if your diff tool (available on *nix machines) doesn't already do the job for you? diff -u or something similar? You can also look at Text::Diff by Ovid.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1074407]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2016-10-28 10:48 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (380 votes). Check out past polls.