Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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.


Comment on Re: Concatenate the diff of files and show in single glance
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (16)
As of 2015-07-01 16:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (12 votes), past polls