I have been searching the archives and found a few similar questions...and answers. But, maybe some good monk can help me with this.

I want to be able to look at directory (a program source directory) and list the files with a changed date within a calendar month. I will tell the script which month and which directory. I then need to add the resulting file to a text file, checking if I had already put the file there for the same date: I would need to run the script daily, so the same file would likely already be in the text file. But, if a program source file has changed more than once within the month, I'd want to add another entry in the text file.

The code needs to work in both a Unix (HP / ksh) and Windows NT environment.

FYI: this is something being foist on me because of Sarbane-Oxley requirements. So this sort of search may already being used by someone else that is plagued by SOX.
(funny how SOX is a 4-letter word...)

In reply to Directory listing for a date range by jhs3

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.