home *** CD-ROM | disk | FTP | other *** search
- coffdate is something I whipped up quickly to solve several problems:
-
- 1) dates on executable files being altered by "install" scripts
- 2) verifying which of several *.o files was, in fact, most recent
-
- From the program's docs:
-
- displays the date embedded in COFF files and optionally alters the
- files' access and modify dates to be that of their COFF f_timdat.
-
- usage: coffdate [ -a ] [ -m ] [ - { c | s } ] filelist
-
- where: -a resets file's access date&time to the COFF f_timdat
- -m resets file's modify date&time to the COFF f_timdat
- -c list only COFF files (i.e. suppress "not a COFF file")
- -s silent operation
-
- options may be combined noting that -c and -s are mutually exclusive.
-
- This version is for mc68k COFF files; to function with other systems'
- COFF files the equates in chkCOFF() need to be changed to reflect those
- in /usr/include/sgs.h or /usr/include/filehdr.h on those other systems.
-
- V1.0 30-Dec-1990, Thad Floryan (thad@cup.portal.com)
-