Hi Monks, this is a program design question I suppose.

I have been tasked with writing a compare script to hilight any inconsitencies between files in production and development environments.

This script will be executed on a Windoze platform and needs to be able to compare files between source and target hosts for Unix and Windozes machines (obviously not between Unix and Windoze, just to clear that up before someone comments).

Anyway I have an idea on how i'm going to go about this but it seems a bit over complicated ( I always over complicate everything ) so i'm hoping that a monk out there will have far greater wisdom than I in this area. I'm prepared to be enlightened.

Please let me know if you'd like more info.

Many Thanks.


In reply to Generic compare script. by TeraMarv

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.