stamp

Copyright 2005-2006, Stuart Udall

overview
important bits
installation
configuration and startup
controls and methods
issues and limitations
planned improvements
revision history
download

version 0.04: June 11, 2006


 
  overview

STAMP is a simple tool to create logfile entries with timestamps. Often a script (or batchfile) will want to report at various stages of its progress. STAMP allows the script to make a one-line entry to STDOUT (the console) which can then be redirected to a logfile.

STAMP automatically prefixes the current date and time to the logfile entry.

STAMP also inserts a single "flag" character at the very beginning of the entry.

Finally, STAMP can insert a "program identifier" into the entry, so that the script making the entry can identify itself.

STAMP is fully command-line driven, requires no extra files, and does not need to be installed in any particular location.


 
  important bits

  • requires MS-DOS 7.x or later

  • the following points are this program's terms and conditions of use:
  1. This program is hereinafter known as "the Software".
  2. The Software comes with no warranty and is used at your own risk.
  3. The Software is not (and will never be) complete and as such may behave strangely.
  4. The Software is the copyrighted property of the author.
  5. The Software may be distributed freely.
  6. The Software may NOT be incorporated into a commercial work without prior written permission from the author.
  7. The Software is "donateware" - you can choose your amount, and pay with Paypal! Donating will encourage me to create more tools. If you do decide to donate, thankyou in advance; the form is here.

There is a feedback form here.


 
  installation
  1. run the self-extracting distribution archive
  2. (optional) copy STAMP.EXE to a directory in your PATH


 
  configuration and startup

Commandline syntax:

stamp <flag> <message> [/logsrc:<source>]

Where:

<flag>leading character or string for the log entry
<message>message for the log entry
<logsrc>(optional) a name for the source of the log entry

Example:

stamp ! An error has been detected. /logsrc:testtool >> logfile.log

Results in this output appended to the file "logfile.log" (your timestamp will vary):

! testtool Aug 16, 2005 14:59:46 An error has been detected.


 
  controls and methods

  • N/A


 
  issues and limitations

  • none known

 
  planned improvements

  • 32-bit version for Win64

 
  revision history

August 16, 20050.01initial development
August 17, 20050.02added /logsrc switch and HTML documentation
September 5, 20050.03?
June 11, 20060.04bugfix

Note: The supplied STAMP.EXE is an improved workalike of "STAMP.COM", a 12k program written on February 15, 1987 by an unknown author. I have used STAMP.COM for many years, and only retired it when I started needing to distribute a timestamper. Greetz to you, whoever you are!


 
  download

stamp.exe  library