Back to the main page

Mailing List Logs for ShadowRN

Message no. 1
From: "Robert A. Hayden" <hayden@*******.MANKATO.MSUS.EDU>
Subject: ADMIN: csh program to auto time/date your postings (fwd)
Date: Sat, 23 Apr 1994 17:46:29 -0500
---------- Forwarded message ----------
Date: Sat, 23 Apr 94 17:33:42 -0500
From: Gian-Paolo Musumeci <musumeci@***>
To: hayden@*******
Subject: td

About td:
I got tired of constantly having to look at my watch to type in the time
for my ShadowTK T/D stamps, so I wrote this shell script which appends the
standard-format T/D stamp to a file.

Feel free to distribute as much as you want, but please leave the two
credit lines intact. Thanks.

Installation Instructions:
Copy the lines out and cut on the dotted lines. =) Put them into a file
called "td" (no quotes) and type the following line:

chmod 700 td

And press return. The program is installed, but you have to be in the
directory you installed it in to use it.

How to Use:
Type "td <user-name> <file-name>" where <user-name> is
your character's
alias and <file-name> is the file you want to append the T/D stamp to.
At this point, td only supports single-word aliases. For example: I
play a character called "Fubar" and want to append his T/D stamp to a
file called "shadowtalk-letter":

td Fubar shadowtalk-letter

Send em to me at solstice@****.edu

------------- Cut Here -------------
# /bin/csh

# td: Time/Date Stamp Generator for Shadowrun LISTSERV
# Written by Gian-Paolo Musumeci (solstice@****.edu)

if ($#argv == 2) goto stamp
echo "Usage: td <user-name> <file-name>"

set user = $argv[1]
set file = $argv[2]
set date = "`date +%D`"
set time = "`date +%T`"
echo " -- "$user"
<"$time"/"$date">" >> $file
echo "Appended."
------------- Cut Here -------------

Further Reading

If you enjoyed reading about ADMIN: csh program to auto time/date your postings, you may also be interested in:


These messages were posted a long time ago on a mailing list far, far away. The copyright to their contents probably lies with the original authors of the individual messages, but since they were published in an electronic forum that anyone could subscribe to, and the logs were available to subscribers and most likely non-subscribers as well, it's felt that re-publishing them here is a kind of public service.